[issue17922] Crash in clear_weakref
Antoine Pitrou
report at bugs.python.org
Tue May 7 17:06:49 CEST 2013
Antoine Pitrou added the comment:
> swigpyobject_type is a static PyTypeObject variable (similar to all
> static PyTypeObject structures we write in extension modules, but
> inside a function)
>
> It should never be deallocated... There may be a refcount issue with
> this object.
Even if it's deallocated, the Py_TYPE of an instance should never
become NULL. At worse it may point to invalid memory.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17922>
_______________________________________
More information about the Python-bugs-list
mailing list