[issue24992] collections.OrderedDict constructor (odict_new) doesn't handle PyDict_New() failure

STINNER Victor report at bugs.python.org
Thu Sep 3 11:55:02 CEST 2015


STINNER Victor added the comment:

You can try the odict_failmalloc.py program with a Python compiled in debug mode to see the bug.

The script requires:
https://pypi.python.org/pypi/pyfailmalloc

----------
Added file: http://bugs.python.org/file40335/odict_failmalloc.py

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


More information about the Python-bugs-list mailing list