[Python-Dev] PEP 442: Safe object finalization (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Mon Jun 3 11:52:52 CEST 2013


On Sun, 2 Jun 2013 19:27:49 -0700 Benjamin Peterson <benjamin at python.org> wrote:

2013/5/18 Antoine Pitrou <solipsis at pitrou.net>: > > Hello, > > I would like to submit the following PEP for discussion and evaluation.

Will the API of the gc module be at all affected? I assume nothing will just be printed for DEBUGUNCOLLECTABLE.

Objects with tp_del may still exist (third-party extensions perhaps).

Maybe there should be a way to discover when a cycle is resurrected?

Is it more important than discovering when a non-cycle is resurrected?

Regards

Antoine.



More information about the Python-Dev mailing list