Message 119415 - Python tracker (original) (raw)
I've uploaded a patch against the current svn trunk that:
- Defines a Py_uhash_t as equivalent to size_t.
- Correctly defines _PyHASH_MODULUS on Win64.
- Replaces several PyLong_FromLong with PyLong_FromSsize_t.
- Change typeobject/wrap_hashfunc to use Py_hash_t instead of long.
- Change tupleobject/tuplehash to use Py_hast_t instead of long.
- Change long/double/complex hash functions to use Py_uhash_t instead of unsigned long.