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 Mark.Shannon
Recipients Mark.Shannon, Trundle, amaury.forgeotdarc, benjamin.peterson, davide.rizzo, ezio.melotti, orsenthil, pitrou, python-dev, vstinner
Date 2011-12-15.10:03:09
SpamBayes Score 6.669972e-05
Marked as misclassified No
Message-id <4EE9C5DC.2040404@hotpy.org>
In-reply-to <1323939823.33.0.572762232849.issue12149@psf.upfronthosting.co.za>
Content
Absolutely. subtype_dealloc deals with deallocation of subtype 
*instances*, not the types themselves.

 > Maybe we can try and explore the reference graph again?
This sort of thing is one of the reasons that the cycle GC does not call 
any finalisers. Attempting to do finalisation during deallocation is 
asking for trouble, and it seems to be pervasive in CPython.
I'm surprised this sort of bug is not more common.

But subtype_dealloc deals with instances not classes, and deallocation 
of instances may happen many millions of times.
History
Date User Action Args
2011-12-15 10:03:10Mark.Shannonsetrecipients: + Mark.Shannon, amaury.forgeotdarc, orsenthil, pitrou, vstinner, benjamin.peterson, ezio.melotti, Trundle, davide.rizzo, python-dev
2011-12-15 10:03:10Mark.Shannonlinkissue12149 messages
2011-12-15 10:03:09Mark.Shannoncreate