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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17922>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to