On Sun, 2 Jun 2013 19:16:17 -0700
Benjamin Peterson <benja...@python.org> wrote:
> 2013/5/18 Antoine Pitrou <solip...@pitrou.net>:
> > Calling finalizers only once is fine with me, but it would be a change
> > in behaviour; I don't know if it may break existing code.
> 
> I agree with Armin that this is better behavior. (Mostly significantly
> consistent with weakrefs.)

Keep in mind that it is a limitation of weakrefs, not a feature: you
can't "unclear" a weakref.

> > (for example, say someone is using __del__ to manage a freelist)
> 
> Do you know if it breaks any of the projects you tested it with?

I haven't tested it (yet).

Regards

Antoine.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to