[issue8212] A tp_dealloc of a subclassed class cannot resurrect an object

Kristján Valur Jónsson report at bugs.python.org
Mon Apr 16 15:46:29 CEST 2012


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Ok, that sounds reasonable, particularly in light of that _NewReference stuff.  I'll work out a different patch then.  But I think the API must be public, since it would need to work from extension modules.

So: if a c type decides that it wants to live after a tp_dealloc(), it must call this api ...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8212>
_______________________________________


More information about the Python-bugs-list mailing list