bpo-37878: PyThreadState_DeleteCurrent() was not removed (GH-20489)

Update What's New in Python 3.9.

PyThreadState_DeleteCurrent was not removed, but excluded from the limited C API.
This commit is contained in:
Victor Stinner 2020-05-28 18:26:01 +02:00 committed by GitHub
parent 459acc5516
commit fda7f6d61b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

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