This change replaces the print statements with print function calls
and also replaces the '/' operator (which is integer division in Py2,
but becomes floating point division in Py3) with the '//' operator
which has the same semantics in Py2 and Py3.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
What happens when this is run with python 2 in the path? Should this explicitly run via python3?
Comment Actions
Should this use from __future__ import print_function to avoid someone accidentially printing arguments as a tuple?
Comment Actions
The more I think about this, the more I do think this should use from __future__ import print_function.