[Python-Dev] Cycle collection enhancement idea

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jun 29 02:39:11 CEST 2008


Nick Coghlan wrote:

> It's a fact of Python development: __del__ methods cannot safely 
> reference module globals, because those globals may be gone by the time 
> that method is invoked.

Speaking of this, has there been any more thought given
to the idea of dropping the module clearing and just
relying on cyclic GC?

-- 
Greg


More information about the Python-Dev mailing list