You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pyexpat: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode #53648
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2010-09-10.22:25:57.648>created_at=<Date2010-07-28.20:53:46.965>labels= ['extension-modules', 'expert-XML', 'type-crash']
title='pyexpat: replace PyObject_DEL() by Py_DECREF() to fix a crash in pydebug mode'updated_at=<Date2010-09-10.22:25:57.646>user='https://github.com/vstinner'
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.
Activity
vstinner commentedon Jul 28, 2010
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 bpo-3299 for the whole story.
vstinner commentedon Sep 10, 2010
Fixed by r84692.