[Python-Dev] PEP 442: Safe object finalization

Benjamin Peterson benjamin at python.org
Mon Jun 3 04:16:17 CEST 2013

2013/5/18 Antoine Pitrou <solipsis at 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.)

> (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?


More information about the Python-Dev mailing list