diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-13 10:35:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 10:35:37 (GMT) |
commit | d5d9e81ce9a7efc5bc14a5c21398d1ef6f626884 (patch) | |
tree | 0650e31fe590d6be19dc21546cd129d68139d4af /Doc/whatsnew | |
parent | 3aef48e3157f52a8bcdbacf47a35d0016348735e (diff) | |
download | cpython-d5d9e81ce9a7efc5bc14a5c21398d1ef6f626884.zip cpython-d5d9e81ce9a7efc5bc14a5c21398d1ef6f626884.tar.gz cpython-d5d9e81ce9a7efc5bc14a5c21398d1ef6f626884.tar.bz2 |
bpo-36728: Remove PyEval_ReInitThreads() from C API (GH-13241)
Remove the PyEval_ReInitThreads() function from the Python C API.
It should not be called explicitly: use PyOS_AfterFork_Child()
instead.
Rename PyEval_ReInitThreads() to _PyEval_ReInitThreads() and add a
'runtime' parameter.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.8.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 684656f..ac25305 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -990,6 +990,11 @@ Changes in the Python API Changes in the C API -------------------- +* The :c:func:`PyEval_ReInitThreads` function has been removed from the C API. + It should not be called explicitly: use :c:func:`PyOS_AfterFork_Child` + instead. + (Contributed by Victor Stinner in :issue:`36728`.) + * On Unix, C extensions are no longer linked to libpython except on Android. When Python is embedded, ``libpython`` must not be loaded with ``RTLD_LOCAL``, but ``RTLD_GLOBAL`` instead. Previously, using |