[issue43737] Documentation of modulo operator should document behaviour clearly when second operator is negative
Raymond Hettinger <raymond.hettinger@gmail.com> added the comment: I just checked with another Python expert who reported: """ I have never once in my whole life seen or used a negative modulo. And that says a lot given that 6 years of it was spent studying math. Including a few years in a math PhD program. Perhaps my only "surprise" on negative modulo is finding out that the classic gcd algorithm works fine if you give it negative integers. """ The reviewer inputs a unanimous. Marking this as closed. Please do not be rude and reopen again. ---------- resolution: -> rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue43737> _______________________________________
participants (1)
-
Raymond Hettinger