GC...

Michael Hudson mwh21 at cam.ac.uk
Sun May 7 11:43:08 CEST 2000


Courageous <jkraska1 at san.rr.com> writes:

> If two python objects mutally refer to eachother, but aren't
> referred to globally in any current namespace, will they be
> garbage collected?

No.  However, this might change; Neil Schemenauer has a patch that
corrects this, but it probably won't be going into 1.6, as it's a bit
of a fundamental change.  Prospects are good for 1.7, though, and
Chris was talking about merging it into stackless a while back...

Anyway, you want to see:

   http://www.enme.ucalgary.ca/~nascheme/python/gc.html

Cheers,
M.

-- 
39. Re graphics:  A picture is worth 10K  words - but only those 
    to describe the picture. Hardly any sets of 10K words can be 
    adequately described with pictures.
     -- Alan Perlis, http://www.cs.yale.edu/~perlis-alan/quotes.html



More information about the Python-list mailing list