Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 11, 2019

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

vstinner added 2 commits May 13, 2019 10:34
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.
@vstinner vstinner merged commit d5d9e81 into python:master May 13, 2019
@vstinner vstinner deleted the reinit_threads branch May 13, 2019 10:35
@ZackerySpytz
Copy link
Contributor

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

@vstinner
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants