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

yoav glazner yoavglazner at gmail.com
Mon Sep 13 14:09:23 CEST 2010


Hi!

I was thinking, why not let python gc break cycles with only one
object.__del__ ?
I don't see a problem with calling the __del__ method and then proceed
as usual (break the cycle if it wasn't already broken by __del__)

Many Thanks,

Yoav Glazner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100913/8c6809b8/attachment.html>


More information about the Python-ideas mailing list