[issue15142] Fix reference leak with types created using PyType_FromSpec

Antoine Pitrou report at bugs.python.org
Sat Jun 23 11:40:12 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> However, once inheritance support is added by #15146 then it would be
> wrong - the default slot entry would override an inherited one.

It would not be wrong. subtype_dealloc will properly call a base class'
tp_dealloc, if necessary.

----------

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


More information about the Python-bugs-list mailing list