poss solution: GC and __del__ cycles

Toby Dickenson mbel44 at dial.pipex.net
Thu Sep 14 14:35:04 CEST 2000

Ken MacLeod <ken at bitsko.slc.ut.us> wrote:

>If an object has a method __delgc__, the garbage collector can call
>that method to release one side of cyclic references.

Given the traditional name for a method to do this manually, a better
name for this automatically-called method might be __close__

>  -- Ken

Toby Dickenson
tdickenson at geminidataloggers.com

More information about the Python-list mailing list