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/2008-June/080845.html below:

[Python-Dev] Cycle collection enhancement idea

[Python-Dev] Cycle collection enhancement ideaAdam Olsen rhamph at gmail.com
Sun Jun 29 19:22:05 CEST 2008
On Sat, Jun 28, 2008 at 10:52 PM, Guido van Rossum <guido at python.org> wrote:
> On Sat, Jun 28, 2008 at 5:39 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
>> Nick Coghlan wrote:
>>
>>> It's a fact of Python development: __del__ methods cannot safely reference
>>> module globals, because those globals may be gone by the time that method is
>>> invoked.
>>
>> Speaking of this, has there been any more thought given
>> to the idea of dropping the module clearing and just
>> relying on cyclic GC?
>
> No, but it is an intriguing thought nevertheless. The module clearing
> causes nothing but trouble...

Already gone in python-safethread.  Then again, so is __del__. ;)
(Replaced with __finalize__)


-- 
Adam Olsen, aka Rhamphoryncus
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