]> granicus.if.org Git - python/commit
SF bug #477059 (my own): __del__ on new classes vs. GC.
authorGuido van Rossum <guido@python.org>
Thu, 1 Nov 2001 14:23:28 +0000 (14:23 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 1 Nov 2001 14:23:28 +0000 (14:23 +0000)
commit8cc705eabcea0436ba51ff5eb87aafa82521d2b4
tree0cd74cf063d071153803c8125276a584c4b39e24
parent01a9462787c0efcd0cfef33407e99f6ef6531eb2
SF bug #477059 (my own): __del__ on new classes vs. GC.

When moving objects with a __del__ attribute to a special list, look
for __del__ on new-style classes with the HEAPTYPE flag set as well.
(HEAPTYPE means the class was created by a class statement.)
Modules/gcmodule.c