[Python-Dev] test___all__ polluting sys.modules?

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Dec 30 22:25:25 CET 2012


Richard Oudkerk wrote:
> Personally I would like to get rid of the "purge globals" behaviour for 
> modules deleted before shutdown has started: if someone manipulates 
> sys.modules then they can just call gc.collect() if they want to 
> promptly get rid of orphaned reference cycles.

Now that we have cyclic gc, is there any need for the
shutdown purge at all?

-- 
Greg



More information about the Python-Dev mailing list