[issue14417] dict RuntimeError workaround

Guido van Rossum report at bugs.python.org
Mon Apr 2 01:51:28 CEST 2012


Guido van Rossum <guido at python.org> added the comment:

Here's a hack that uses goto instead of recursion to restore the original behavior, less the stack overflow.  With this, hammer_dict_switchinterval.py loops forever (which is I think what it's supposed to do if RuntimeError is never raised).

----------
keywords: +patch
Added file: http://bugs.python.org/file25093/dictobject.c.patch

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


More information about the Python-bugs-list mailing list