[Python-Dev] Provoking Jim's MRO segfault before shutdown

Barry Warsaw barry at python.org
Thu Nov 13 09:22:40 EST 2003


On Thu, 2003-11-13 at 02:17, Tim Peters wrote:
> il a later run of gc, one that didn't resurrect dead cycles).
> 
> Sorry, not so -- the "mini gc pass" of the same gc invocation would collect
> all million of the other objects in vanilla trash cycles.  It's only weakref
> callbacks sick enough to install brand new weakref callbacks on dead objects
> that would prevent the other trash from getting collected in the same gc
> invocation.  There wasn't anything like that in the segfaulting program.

When Python's shutting down, will there /be/ another GC invocation?

-Barry





More information about the Python-Dev mailing list