theeshallnotknowethme <nohackingofkrow...@gmail.com> added the comment:
A correction to the discussion: The PR I made only fixes CONSTANT integer division, not any other. The left and right operands are checked for non-constants and then are checked for integerness (specifically checks for `NOT A FLOAT`s). After both checks have passed, the division operator is turned into a floor division operator. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45736> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com