close
The Wayback Machine - https://web.archive.org/web/20221005053846/https://github.com/python/cpython/pull/13241
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-36728: Remove PyEval_ReInitThreads() from C API #13241

Merged
merged 2 commits into from May 13, 2019

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

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
4 of 5 checks passed
@vstinner vstinner deleted the reinit_threads branch May 13, 2019
@ZackerySpytz
Copy link
Contributor

ZackerySpytz commented May 13, 2019

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

@vstinner
Copy link
Member Author

vstinner commented May 13, 2019

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.

None yet

4 participants