hash_handler has the following prototype in cxx_extensions.cxx:
long hash_handler( PyObject * );
In python-3.2, the long needs to be changed to Py_hash_t, which is really just an ssize_t. Failure to do so causes problems on x86 when largefile mode is enabled, where sizeof(ssize_t) == 8 but sizeof(long) == 4.
Log in to post a comment.