[issue9403] cElementTree: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode
report at bugs.python.org
Fri Aug 13 03:34:40 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> Are there any tests that could be easily added to the test suite?
I don't know an easy way to simulate malloc failure. There is the http://www.nongnu.org/failmalloc/ library but I never used it, and I don't think that it's widely used. You can just test that the patch doesn't make things worse :-)
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list