[issue9402] pyexpat: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode
report at bugs.python.org
Wed Jul 28 22:53:48 CEST 2010
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
PyObject_DEL() should not be used to destroy an object because it will break the linked list of allocated objects using in pydebug mode to detect bugs. pyexpat should use Py_DECREF() instead of PyObject_DEL() to destroy an object.
Attached patch fixes that.
See #3299 for the whole story.
components: Library (Lib)
title: pyexpat: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file18235/pyexpat_py_decref.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list