[New-bugs-announce] [issue6695] PyXXX_ClearFreeList for dict, set, and list

Matthias Troffaes report at bugs.python.org
Thu Aug 13 18:45:31 CEST 2009

New submission from Matthias Troffaes <matthias.troffaes at gmail.com>:

The Python C API provides PyXXX_ClearFreeList functions to allow the
float, int, etc... freelists to be freed, potentially releasing memory
to the OS earlier. Currently, there is no such API for the dict, set,
and list freelists.

The attached patch adds PyXXX_ClearFreeList functions to the C API, so
the dict, set, and list freelists can be freed as well.

components: Interpreter Core
files: py3k-clearfreelist-dict_set_list.patch
keywords: patch
messages: 91520
nosy: matthiastroffaes
severity: normal
status: open
title: PyXXX_ClearFreeList for dict, set, and list
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file14708/py3k-clearfreelist-dict_set_list.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list