]> granicus.if.org Git - python/commit
bpo-36728: Remove PyEval_ReInitThreads() from C API (GH-13241)
authorVictor Stinner <vstinner@redhat.com>
Mon, 13 May 2019 10:35:37 +0000 (12:35 +0200)
committerGitHub <noreply@github.com>
Mon, 13 May 2019 10:35:37 +0000 (12:35 +0200)
commitd5d9e81ce9a7efc5bc14a5c21398d1ef6f626884
tree0650e31fe590d6be19dc21546cd129d68139d4af
parent3aef48e3157f52a8bcdbacf47a35d0016348735e
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.
Doc/whatsnew/3.8.rst
Include/ceval.h
Include/internal/pycore_ceval.h
Misc/NEWS.d/next/C API/2019-05-11-03-56-23.bpo-36728.FR-dMP.rst [new file with mode: 0644]
Modules/posixmodule.c
Python/ceval.c