Skip to content

Commit

Permalink
bpo-37878: PyThreadState_DeleteCurrent() was not removed (GH-20489)
Browse files Browse the repository at this point in the history
Update What's New in Python 3.9.

PyThreadState_DeleteCurrent was not removed, but excluded from the limited C API.
  • Loading branch information
vstinner authored May 28, 2020
1 parent 459acc5 commit fda7f6d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Doc/whatsnew/3.9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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()``
Expand Down

0 comments on commit fda7f6d

Please sign in to comment.