[issue15142] Fix reference leak with types created using PyType_FromSpec

Nick Coghlan report at bugs.python.org
Sat Jun 23 12:15:39 CEST 2012


Nick Coghlan <ncoghlan at gmail.com> added the comment:

True, I didn't follow the bouncing ball far enough. In that, case I think all that is needed is a comment like:

"subtype_dealloc walks the MRO to call the base dealloc function, so it is OK to block inheritance of the slot"

----------

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


More information about the Python-bugs-list mailing list