This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petr.viktorin
Recipients BreamoreBoy, brett.cannon, eric.snow, larry, mbussonn, ncoghlan, petr.viktorin, python-dev, ronaldoussoren, scoder, steve.dower, zach.ware
Date 2015-05-29.19:57:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432929443.07.0.944177873067.issue24268@psf.upfronthosting.co.za>
In-reply-to
Content
And, the remaining refleak is a known issue from 2012: PyType_FromSpec-created types with custom tp_dealloc leak references when instantiated.
See issue 16690
There's more discussion is in issue 15653

Martin v. Löwis notes:
> So I'd propose that it is actually the leaf subtype which decrefs
> ob_type. The check whether you are the leaf type is then done by
> checking whether tp_dealloc is the one you are "in" right now.

Is that really the way to go? I didn't find this info in the docs, should those be updated?
History
Date User Action Args
2015-05-29 19:57:23petr.viktorinsetrecipients: + petr.viktorin, brett.cannon, ronaldoussoren, ncoghlan, scoder, larry, BreamoreBoy, python-dev, eric.snow, zach.ware, steve.dower, mbussonn
2015-05-29 19:57:23petr.viktorinsetmessageid: <1432929443.07.0.944177873067.issue24268@psf.upfronthosting.co.za>
2015-05-29 19:57:23petr.viktorinlinkissue24268 messages
2015-05-29 19:57:23petr.viktorincreate