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

Michael Foord fuzzyman at voidspace.org.uk
Mon Sep 13 22:36:35 CEST 2010


On 13 September 2010 20:22, Benjamin <benjamin at python.org> wrote:

> Tim Peters <tim.peters at ...> writes:
> > Of course it doesn't _have_ to be that way.  Nobody cared enough yet
> > to add a pile of new code to special-case cycles with a single
> > __del__.
>
> And hopefully no one will. That would be very brittle.
>
>
More brittle than what PyPy, IronPython (and presumably) jython do? (Which
is make cycles collectable by arbitrarily breaking them IIUC.)

Michael


>
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>



-- 
http://www.voidspace.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100913/0af6d0e0/attachment.html>


More information about the Python-ideas mailing list