[Python-Dev] Re: More fun with Python shutdown

Bernhard Herzog bh at intevation.de
Wed Nov 12 06:51:08 EST 2003

Greg Ewing <greg at cosc.canterbury.ac.nz> writes:

> Maybe the GC should also refuse to collect cycles in which any member
> is referenced by a weak reference with an associated callback?

Wouldn't it be possible to call the callbacks of all weakrefs that point
to a cycle about to be destroyed before that destruction begins?


Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
Thuban                                  http://thuban.intevation.org/

More information about the Python-Dev mailing list