[issue14417] dict RuntimeError workaround

Raymond Hettinger report at bugs.python.org
Mon Apr 2 01:56:55 CEST 2012


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

IIRC, Jython uses concurrent mappings, so this isn't an issue for them.

CPython's dictresize() relies on the GIL to atomically resize the ma_table.  There are no pure python calls (the existing hash values are reused) and the ref counts are neutral.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14417>
_______________________________________


More information about the Python-bugs-list mailing list