commit | 093ce9cd8c6e4287bffac9d9519d5159d788a008 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Dec 16 11:24:27 2011 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Dec 16 11:24:27 2011 +0100 |
tree | 2b8bba612cf0390e8a5b098d2fbf88382c909940 | |
parent | c144a93e987600196aaf5e8ec65a5eac76af29cd [diff] [blame] |
Issue #6695: Full garbage collection runs now clear the freelist of set objects. Initial patch by Matthias Troffaes.
diff --git a/Include/setobject.h b/Include/setobject.h index 6234111..00e5344 100644 --- a/Include/setobject.h +++ b/Include/setobject.h
@@ -99,6 +99,8 @@ PyAPI_FUNC(PyObject *) PySet_Pop(PyObject *set); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable); + +PyAPI_FUNC(int) PySet_ClearFreeList(void); #endif #ifdef __cplusplus