diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-12-16 10:24:27 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-12-16 10:24:27 (GMT) |
commit | 093ce9cd8c6e4287bffac9d9519d5159d788a008 (patch) | |
tree | 2b8bba612cf0390e8a5b098d2fbf88382c909940 /Modules | |
parent | c144a93e987600196aaf5e8ec65a5eac76af29cd (diff) | |
download | cpython-093ce9cd8c6e4287bffac9d9519d5159d788a008.zip cpython-093ce9cd8c6e4287bffac9d9519d5159d788a008.tar.gz cpython-093ce9cd8c6e4287bffac9d9519d5159d788a008.tar.bz2 |
Issue #6695: Full garbage collection runs now clear the freelist of set objects.
Initial patch by Matthias Troffaes.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/gcmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 154f136..1876e93 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -764,6 +764,7 @@ clear_freelists(void) (void)PyFloat_ClearFreeList(); (void)PyList_ClearFreeList(); (void)PyDict_ClearFreeList(); + (void)PySet_ClearFreeList(); } static double |