A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20060401/12b77b4d/attachment.htm below:

<br><br><div><span class="gmail_quote">On 4/1/06, <b class="gmail_sendername">Thomas Wouters</b> &lt;<a href="mailto:thomas@python.org">thomas@python.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;"><br><div></div><div style="direction: ltr;"><span class="q"><span class="gmail_quote">On 4/1/06, <b class="gmail_sendername">Jim Jewett</b> &lt;<a href="mailto:jimjjewett@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jimjjewett@gmail.com</a>&gt; wrote:</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nick Coghlan<br>&gt; A simple Boolean attribute (e.g. __finalized__) should be enough. ...<br>&gt; If it's both present and true, the GC can ignore the finaliser on that instance<br><br>That doesn't really take care of resource release, which needs to be
<br>called, and called early.(And the name will sound odd if it holds<br>resources only sometimes, so that it has to flip the __finalized__<br>attribute.)</blockquote></span></div><div style="direction: ltr;"><div><br>Well, I don't want to sound too gross, but any such class could store its resources *in* __finalized__, leaving it an empty container when there is no resource to release.
</div></div></div></blockquote><div><br>Eh, that would mean the attribute would have to be called '__notfinalized__' of course ;) <br><br></div></div>-- <br>Thomas Wouters &lt;<a href="mailto:thomas@python.org">thomas@python.org
</a>&gt;<br><br>Hi! I'm a .signature virus! copy me into your .signature file to help me spread!

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