Message 119415 - Python tracker (original) (raw)

I've uploaded a patch against the current svn trunk that:

  1. Defines a Py_uhash_t as equivalent to size_t.
  2. Correctly defines _PyHASH_MODULUS on Win64.
  3. Replaces several PyLong_FromLong with PyLong_FromSsize_t.
  4. Change typeobject/wrap_hashfunc to use Py_hash_t instead of long.
  5. Change tupleobject/tuplehash to use Py_hast_t instead of long.
  6. Change long/double/complex hash functions to use Py_uhash_t instead of unsigned long.