Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
The only problem is that the current algorithm for numeric types is documented to return negative numbers. https://docs.python.org/3/library/stdtypes.html#hashing-of-numeric-types ---------- nosy: +mark.dickinson, serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37807> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com