Closed mojca closed 4 years ago
Actually, one can use from __future__ import print_function
to ensure compatibility.
I usually don't even do that, I just make sure that I provide a single argument, as in
print("something " + foo)
# or
print("something {}".format(foo))
instead of
print("something", foo)
Then you don't even need to import print_function
, it just works.
Additionally there was a need to convert ET.tostring() to a real str() in python3.
done.
All parts are tested with python3 latetely.
Python 2.7 has less than two years to live. The
print
statements inmakedocs.py
are not compatible with python 3 yet, I assume the conversion should be pretty straightforward.