summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-11-20 11:59:12 (GMT)
committerGitHub <noreply@github.com>2019-11-20 11:59:12 (GMT)
commit4dedd0f0ddc5a983a57bf0105eb34f948a91d2c4 (patch)
tree9b78468c58157901a86b70427eb97344b22634a4 /Doc
parent7247407c35330f3f6292f1d40606b7ba6afd5700 (diff)
downloadcpython-4dedd0f0ddc5a983a57bf0105eb34f948a91d2c4.zip
cpython-4dedd0f0ddc5a983a57bf0105eb34f948a91d2c4.tar.gz
cpython-4dedd0f0ddc5a983a57bf0105eb34f948a91d2c4.tar.bz2
bpo-37340: Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() (GH-17284)
Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() functions: the free lists of bound method objects have been removed. Remove also _PyMethod_Fini() and _PyCFunction_Fini() functions.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.9.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 542a031..281173e 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -217,6 +217,7 @@ Build and C API Changes
``PyThreadState.recursion_depth`` field. Remove ``_Py_CheckRecursionLimit``
from the stable ABI.
(Contributed by Victor Stinner in :issue:`38644`.)
+
* Add a new public :c:func:`PyObject_CallNoArgs` function to the C API, which
calls a callable Python object without any arguments. It is the most efficient
way to call a callable Python object without any argument.
@@ -230,6 +231,10 @@ Build and C API Changes
``pyfpe.h`` from ``Py_LIMITED_API`` (stable API).
(Contributed by Victor Stinner in :issue:`38835`.)
+* Remove ``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``
+ functions: the free lists of bound method objects have been removed.
+ (Contributed by Inada Naoki and Victor Stinner in :issue:`37340`.)
+
Deprecated
==========