Mark Dickinson <dicki...@gmail.com> added the comment:
This is essentially a duplicate of #12831. There's nothing 2to3 can reasonably do here, since it isn't in a position to guess whether true division or floor division was intended. As noted in the duplicate, the "-3" and the "-Q" command line options can help detect these cases. ---------- nosy: +mark.dickinson resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> 2to3 and integer division _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37716> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com