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/2003-April/034375.html below:

[Python-Dev] Re: [PythonLabs] Re: [Python-checkins] python/dist/src/Modules gcmodule.c,2.33.6.5,2.33.6.6

[Python-Dev] Re: [PythonLabs] Re: [Python-checkins] python/dist/src/Modules gcmodule.c,2.33.6.5,2.33.6.6Jeremy Hylton jeremy@zope.com
04 Apr 2003 12:39:16 -0500
On Fri, 2003-04-04 at 11:46, Jeremy Hylton wrote:
> I think a safe approach would be to move everything out of unreachable
> and into either "collectable" or "finalizers".  That way, we can do a 
> while (!gc_list_is_empty(unreachable)) loop and always deal with the
> head of the unreachable list.  Each time through the loop, the head of
> the list can be moved to collectable or finalizers or become unlinked,
> so we always make progress.
> 
> Sound plausible?

Yes.  I've got a patch that fixes the boom case, but I'm not sure I've
handled the case where the object becomes reachable as a result of
running PyObject_HasAttr().  I'll post after testing that.

Jeremy





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