Leakage vs Cyclops

Martin v. Löwis martin at v.loewis.de
Sat Jan 4 16:47:45 EST 2003


Robin Becker <robin at jessikat.fsnet.co.uk> writes:

> I can certainly see how such objects could be created as a loop and then
> cast off from their root, but I thought that gc would catch these. 

If everything works correctly, sure. If a DECREF is missing somewhere,
you get garbage that gc cannot detect (since it relies on the
refcounts being correct).

Regards,
Martin




More information about the Python-list mailing list