New submission from STINNER Victor <victor.stin...@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)
files: pyexpat_py_decref.patch
keywords: patch
messages: 111845
nosy: haypo
priority: normal
severity: normal
status: open
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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9402>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to