[Python-Dev] Linus on garbage collection

Greg Ewing greg.ewing at canterbury.ac.nz
Sat May 7 02:26:10 CEST 2011


Stefan Behnel wrote:
> After all, the described crash case indicates that 
> the Document destructor was called before all of the Element destructors 
> had been called, although all Elements reference their Document, but the 
> Document does not refer to any of the Elements,

In that case, why was the GC system regarding this as a cycle
at all? There must be more going on.

-- 
Greg


More information about the Python-Dev mailing list