On Fri, 2003-04-04 at 12:39, Jeremy Hylton wrote: > 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. It's SF patch 715446. There's a lingering problem with test_gc, but I hope it's tractable. 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