[issue8188] Unified hash for numeric types.

Stefan Krah report at bugs.python.org
Sun Apr 4 22:53:26 CEST 2010


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

Actually the current long_hash() is affected as well. On Windows 64-bit:

>>> hash(2**31)
-2147483648

>>> hash(2**32)
1

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8188>
_______________________________________


More information about the Python-bugs-list mailing list