A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-May/126309.html below:

[Python-Dev] PEP 442: Safe object finalization

[Python-Dev] PEP 442: Safe object finalization [Python-Dev] PEP 442: Safe object finalizationAntoine Pitrou solipsis at pitrou.net
Sat May 18 13:46:54 CEST 2013
On Sat, 18 May 2013 21:05:48 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> 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?

Where would you put the option?
As for the rationale, it's simply compatibility: resurrection works
without warnings right now :)

Regards

Antoine.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4