On Sat, Jun 28, 2008 at 10:52 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sat, Jun 28, 2008 at 5:39 PM, Greg Ewing <[EMAIL PROTECTED]> wrote: >> 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? > > No, but it is an intriguing thought nevertheless. The module clearing > causes nothing but trouble...
Already gone in python-safethread. Then again, so is __del__. ;) (Replaced with __finalize__) -- Adam Olsen, aka Rhamphoryncus _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com