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

Antoine Pitrou report at bugs.python.org
Mon Apr 16 15:57:12 CEST 2012


Antoine Pitrou <pitrou at free.fr> 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.

Needing to work from (stdlib) extension modules and being public are too
different things. I don't think we want to encourage third-party types
to resurrect their instances.

----------

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


More information about the Python-bugs-list mailing list