Issue #6695: Full garbage collection runs now clear the freelist of set objects.

Initial patch by Matthias Troffaes.
This commit is contained in:
Antoine Pitrou 2011-12-16 11:24:27 +01:00
parent c144a93e98
commit 093ce9cd8c
5 changed files with 23 additions and 2 deletions

View file

@ -99,6 +99,8 @@ PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key,
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