summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-13 10:35:37 (GMT)
committerGitHub <noreply@github.com>2019-05-13 10:35:37 (GMT)
commitd5d9e81ce9a7efc5bc14a5c21398d1ef6f626884 (patch)
tree0650e31fe590d6be19dc21546cd129d68139d4af /Misc/NEWS.d/next/C API
parent3aef48e3157f52a8bcdbacf47a35d0016348735e (diff)
downloadcpython-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 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2019-05-11-03-56-23.bpo-36728.FR-dMP.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-05-11-03-56-23.bpo-36728.FR-dMP.rst b/Misc/NEWS.d/next/C API/2019-05-11-03-56-23.bpo-36728.FR-dMP.rst
new file mode 100644
index 0000000..c691cc4
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2019-05-11-03-56-23.bpo-36728.FR-dMP.rst
@@ -0,0 +1,2 @@
+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.