[Python-Dev] Locked-in defect? 32-bit hash values on 64-bit builds

Raymond Hettinger raymond.hettinger at gmail.com
Fri Oct 15 19:37:18 CEST 2010

After rereading http://bugs.python.org/issue9778 , I'm growing concerned
about an impending ABI freeze before the core devs find time to fix the 
32-bit hash limitation.

ISTM, the use of 64-bit builds is growing in popularity.  It was be a bummer
to have a locked-in an effective size limit for dictionaries and sets because
the API only supports 32-bit hash values.

The thread seems to show agreement that the hash values should be
Py_ssize_t but the chance to fix it will be lost unless core devs get 
more time to work on the problem or unless the ABI freeze is deferred.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20101015/778ead0c/attachment.html>

More information about the Python-Dev mailing list