[issue37753] 2to3 not handing "<="

Eric V. Smith report at bugs.python.org
Sat Aug 3 11:12:36 EDT 2019


Eric V. Smith <eric at trueblade.com> added the comment:

2to3 is not designed to turn every valid python2 program into a valid python3 program. You'll have to provide a way to compare GameClock objects. I suggest you look at http://python3porting.com. You should read the whole site, it's a great resource. Specifically in this case, see http://python3porting.com/problems.html#unorderable-types-cmp-and-cmp

----------
nosy: +eric.smith
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: compile error -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37753>
_______________________________________


More information about the Python-bugs-list mailing list