Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
python3: from __future__ import absolute_import, division, print_function #1412
What does this PR do and why is it necessary?
it makes the behavior between python 2 and 3 similar for the below items
How was it tested? How can it be tested by the reviewer?
Any background context you want to provide?
division is good it ensures we get same results in both python 2 and 3 but is hard to determine if any existing division 3/2 = 1 will now become =1.5 and brake something
or here where the code explicit calls for float division by using 2.0
and all i could see looked ok, but cannot be 100% sure one division in all the code has not modified it's value.
if there is such case found i could add unit test and fix the problem in that specific instance.
What are the relevant tickets if any?
Screenshots (if appropriate)