summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index cb3afd5..e26bd47 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -672,6 +672,19 @@ Build and C API Changes
the garbage collector respectively. (Contributed by Pablo Galindo in
:issue:`40241`.)
+* Remove the following functions from the C API. Call :c:func:`PyGC_Collect`
+ explicitly to free all free lists.
+ (Contributed by Victor Stinner in :issue:`40428`.)
+
+ * ``PyAsyncGen_ClearFreeLists()``
+ * ``PyContext_ClearFreeList()``
+ * ``PyDict_ClearFreeList()``
+ * ``PyFloat_ClearFreeList()``
+ * ``PyFrame_ClearFreeList()``
+ * ``PyList_ClearFreeList()``
+ * ``PySet_ClearFreeList()``
+ * ``PyTuple_ClearFreeList()``
+
Deprecated
==========