[issue8188] Unified hash for numeric types.
Stefan Krah
report at bugs.python.org
Sun Apr 4 20:57:53 CEST 2010
Stefan Krah <stefan-usenet at bytereef.org> added the comment:
Mark, very nice concept! - I'm just starting to review the patch, but I
think the unsigned longs in_Py_HashDouble() and long_hash() should be
uint64_t on a 64-bit OS.
For instance, now on Windows 64-bit:
>>> hash(2**61-1)
1073741823
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8188>
_______________________________________
More information about the Python-bugs-list
mailing list