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 njs
Recipients ethan.furman, njs
Date 2014-12-03.00:04:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417565059.53.0.761539066779.issue22986@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a slightly improved patch spurred by a parenthetical comment of Antoine's on the mailing list :-).

The only change is that it adds a check in subclass_dealloc to correct the reference counting in the weird case that someone converts a HEAPTYPE object into a non-HEAPTYPE object while it is being deallocated.

I should probably also mention that I ran the full test suite against the patched version and everything passed; and with -R 3:2 the only difference is a new reference leak in test_zipfile. I'm guessing this might be spurious, given that AFAIK this test shouldn't be touching __class__ assignment at all? But IDK.
History
Date User Action Args
2014-12-03 00:04:19njssetrecipients: + njs, ethan.furman
2014-12-03 00:04:19njssetmessageid: <1417565059.53.0.761539066779.issue22986@psf.upfronthosting.co.za>
2014-12-03 00:04:19njslinkissue22986 messages
2014-12-03 00:04:19njscreate