Andrew I MacIntyre [EMAIL PROTECTED] added the comment:
Freelist clearing functions for int and float were added by Christian,
and made available to Python code via a function in the sys module. I
don't know who added the freelist clearing functions for the class,
frame, method, tuple and
Raymond Hettinger [EMAIL PROTECTED] added the comment:
I don't see the need for them to be part of the
public API, but I framed this patch to fit in
with what's already in place.
These should not be part of the public API; otherwise,
we lock-in the freelisting implementation detail and
New submission from Andrew I MacIntyre [EMAIL PROTECTED]:
The attached patch adds free list clearing routines for the list, dict
set objects. These objects are the only ones with free lists that don't
already have some form of free list management API. This patch
complements the patch in
Raymond Hettinger [EMAIL PROTECTED] added the comment:
What is the point of expanding the C API for clearing individual
types. Isn't the single Fini function sufficient to clear them all?
Make the approaches consistent seems like a reasonable goal, but why
did you choose the path where