[Python-Dev] PEP 442: Safe object finalization
Nick Coghlan
ncoghlan at gmail.com
Sat May 18 13:05:48 CEST 2013
On Sat, May 18, 2013 at 6:59 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> Resurrection
> The process by which a finalizer creates a new reference to an
> object in a CI. This can happen as a quirky but supported
> side-effect of ``__del__`` methods.
I really like the PEP overall, but could we at least get the option to
have cases of object resurrection spit out a warning? And a clear
rationale for not turning on such a warning by default?
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list