[Python-Dev] Bizarre new test failure
Guido van Rossum
Fri, 07 Jun 2002 11:19:05 -0400
> > I wonder if some new cyclic garbage structure needs two gc.collect()
> > passes in order to break it up.
> Can you dream up a way that can happen legitimately? I haven't been able
> to, short of assuming the existence of a container object that isn't tracked
> by gc. Else it seems that all the unreachable cycles that exist at any
> given time will be found by a single all-generations gc pass (either that,
> or gc is busted <wink>).
Any idea why this would only happen on Windows? I tried it on Linux
and couldn't get it to fail. Not even with gc.set_threshold(1).
I'll go review my tp_clear code next.
--Guido van Rossum (home page: http://www.python.org/~guido/)