A couple garbage collector questions
Neil Schemenauer
nas at python.ca
Tue Apr 3 09:37:13 EDT 2001
Douglas Alan wrote:
> Why doesn't the procedure that a C extension (or embedder) uses to
> increment the reference count of a Python object just register such
> objects as root objects? The reference count decrementer would then
> unregister such objects.
I don't know what your proposing here. Do all objects that have
a reference count greater than zero get registered? Wouldn't
that require the you keep track of all objects?
Neil
More information about the Python-list
mailing list