]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-37878: PyThreadState_DeleteCurrent() was not removed (GH-20489)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 28 May 2020 16:34:47 +0000 (09:34 -0700)
committerGitHub <noreply@github.com>
Thu, 28 May 2020 16:34:47 +0000 (09:34 -0700)
Update What's New in Python 3.9.

PyThreadState_DeleteCurrent was not removed, but excluded from the limited C API.
(cherry picked from commit fda7f6d61b13c68f59806db674e892fda4013348)

Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/whatsnew/3.9.rst

index c21d0d50b741f05c383785627564bbbe25f01a3b..42f9c300f8d9655845c8bc9700b80f9f75cffa7b 100644 (file)
@@ -829,9 +829,6 @@ Removed
   removed, standard :class:`bytes` objects are always used instead.
   (Contributed by Jon Janzen in :issue:`36409`.)
 
-* The C function ``PyThreadState_DeleteCurrent()`` has been removed. It was not documented.
-  (Contributed by Joannah Nanjekye in :issue:`37878`.)
-
 * The C function ``PyGen_NeedsFinalizing`` has been removed. It was not
   documented, tested, or used anywhere within CPython after the implementation
   of :pep:`442`. Patch by Joannah Nanjekye.
@@ -1108,6 +1105,8 @@ Removed
 
   * Exclude the following functions from the limited C API:
 
+    * ``PyThreadState_DeleteCurrent()``
+      (Contributed by Joannah Nanjekye in :issue:`37878`.)
     * ``_Py_CheckRecursionLimit``
     * ``_Py_NewReference()``
     * ``_Py_ForgetReference()``