[Python-Dev] Bizarre new test failure

Neil Schemenauer nas@python.ca
Fri, 7 Jun 2002 10:41:37 -0700


Jeremy Hylton wrote:
> When the garbage collector runs, it determines the first cycle is
> garbage.  It doesn't determine the second cycle is garbage because it
> has an external reference from the first cycle.

But both cycles should be in the set being collected.  It should be able
to collect them both at once.  If your theory is correct then we should
be able to construct some cyclic garbage using only list objects and get
the same behavior, right?

  Neil