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

Benjamin Peterson benjamin at python.org
Fri Oct 15 19:40:33 CEST 2010

2010/10/15 Raymond Hettinger <raymond.hettinger at gmail.com>:
> 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.

I think the panic is a bit of an overreaction. PEP 384 has still not
been accepted, and I haven't seen a final decision about freezing the
ABI in 3.2.


More information about the Python-Dev mailing list