[issue3299] invalid object destruction in re.finditer()
STINNER Victor
report at bugs.python.org
Mon Jul 14 04:38:21 CEST 2008
STINNER Victor <haypo at users.sourceforge.net> added the comment:
About _curses_panel.patch: same as pyobject_del.patch, i didn't tested
the code, and is looks like PyCursesPanel_Dealloc() expects that the
object is properly initialized.
It looks like this bug (invalid use of PyObject_Del/PyObject_DEL) is
not an easy job and may changes many lines of code to fix it. Instead
of replacing PyObjectDel/PyObjectDEL by Py_DECREF, another solution
would be to patch PyObjectDel/PyObjectDEL for the case when
Py_TRACE_REFS is defined (and then call _Py_ForgetReference()).
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3299>
_______________________________________
More information about the Python-bugs-list
mailing list