Update What's New in Python 3.9 (GH-14253)

* Mention bpo of PyImport_Cleanup removal
* Fix bpo number of PyByteArray_Init removal
This commit is contained in:
Victor Stinner 2019-06-20 22:41:25 +02:00 committed by Miss Islington (bot)
parent a1952122a3
commit c68e3fb15d
2 changed files with 2 additions and 1 deletions

View File

@ -1001,7 +1001,7 @@ Build and C API Changes
* The :c:func:`PyByteArray_Init` and :c:func:`PyByteArray_Fini` functions have
been removed. They did nothing since Python 2.7.4 and Python 3.2.0, were
excluded from the limited API (stable ABI), and were not documented.
(Contributed by Victor Stinner in :issue:`32980`.)
(Contributed by Victor Stinner in :issue:`35713`.)
* The result of :c:func:`PyExceptionClass_Name` is now of type
``const char *`` rather of ``char *``.

View File

@ -124,6 +124,7 @@ Removed
* The C function ``PyImport_Cleanup()`` has been removed. It was documented as:
"Empty the module table. For internal use only."
(Contributed by Victor Stinner in :issue:`36710`.)
* ``_dummy_thread`` and ``dummy_threading`` modules have been removed. These
modules were deprecated since Python 3.7 which requires threading support.