[issue6695] PyXXX_ClearFreeList for dict, set, and list
Skip Montanaro
report at bugs.python.org
Thu Aug 13 20:00:58 CEST 2009
Skip Montanaro <skip at pobox.com> added the comment:
Instead of expanding the C API for each type which supports a free
list perhaps there should be a single call, say, PyObject_ClearFreeList,
which takes a pointer to the appropriate type object as an argument.
PyTypeObject can then grow a tp_free_list slot through which the
function calls a type-specific free list clearing function.
Skip
----------
nosy: +skip.montanaro
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6695>
_______________________________________
More information about the Python-bugs-list
mailing list