[Python-Dev] Linus on garbage collection (original) (raw)

Stefan Behnel stefan_ml at behnel.de
Sat May 7 09:20:38 CEST 2011


Greg Ewing, 07.05.2011 02:26:

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.

It's a dead-end that is referenced by a cycle, that's all.

Stefan



More information about the Python-Dev mailing list