Tim Peters <t...@python.org> added the comment:
Yup, you have a point there! :-) I guess I'm just not used to 0 being a multiplicative identity. Don't know what other systems do. Playing with Maxima, modulo 1 it seems to think 0 is the inverse of everything _except_ for 0. `inv_mod(0, 1)` returns `false`. Modulo -1, everything I tried returned `false`. Which makes less sense to me. Fine by me if you want to close this as "not a bug". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37893> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com