◐ Shell
clean mode source ↗

bpo-36728: Remove PyEval_ReInitThreads() from C API by vstinner · Pull Request #13241 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner

merged 2 commits into

May 13, 2019

Conversation

@vstinner

Remove the PyEval_ReInitThreads() function from the Python C API.
This function was exposed by mistake and should not be called
explicitly anyway.

Rename PyEval_ReInitThreads() to _PyEval_ReInitThreads() and add a
'runtime' parameter.

https://bugs.python.org/issue36728

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.

@ZackerySpytz

PyEval_ReInitThreads() should be removed from Doc/c-api/init.rst, no?

@vstinner

PyEval_ReInitThreads() should be removed from Doc/c-api/init.rst, no?

Oh, it's documented? It's even documented in "High-level API"... Oh... I wrote PR #13282 to remove the doc.