[Python-ideas] Why not break cycles with one __del__?

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 14 04:44:25 CEST 2010

Nick Coghlan wrote:
> Alternatively, when building finalizers, build two
> lists: one for objects with __del__ methods and one for objects that
> are reachable from objects with __del__ methods.

But since it's a cycle, isn't *everything* in the cycle
going to be reachable from everything else?


More information about the Python-ideas mailing list