Message149522
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. |
|
Date |
User |
Action |
Args |
2011-12-15 10:03:10 | Mark.Shannon | set | recipients:
+ Mark.Shannon, amaury.forgeotdarc, orsenthil, pitrou, vstinner, benjamin.peterson, ezio.melotti, Trundle, davide.rizzo, python-dev |
2011-12-15 10:03:10 | Mark.Shannon | link | issue12149 messages |
2011-12-15 10:03:09 | Mark.Shannon | create | |
|