Algorithm for finalizing cycles (Re: [Python-Dev] Garbage collecting closures)

Martin v. Löwis martin@v.loewis.de
15 Apr 2003 20:50:32 +0200


Greg Ewing <greg@cosc.canterbury.ac.nz> writes:

> > If the object having a finalizer doesn't support references to
> > arbitrary other objects, then the application cannot make this object
> > be part of a cycle.
> 
> It could make a subclass, though...

If the type is carefully designed, it can't...

Regards,
Martin