[Python-Dev] Cycle collection enhancement idea

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jun 30 02:43:28 CEST 2008


Since it's already possible for __del__-containing cycles
to survive interpreter shutdown, I don't see that this
issue ought to be a showstopper for elimination of module
clearing.

Also, it seems to me that the kind of cycles module
clearing is designed to break, i.e. those between classes,
functions and the module dict, are unlikely to contain
objects with ___del__ methods, so there wouldn't be
much of a problem in practice.

-- 
Greg


More information about the Python-Dev mailing list