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-46008: Stop calling _PyThreadState_Init() in new_threadstate(). #29973

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Dec 7, 2021

This simplifies new_threadstate().

We also rename _PyThreadState_Init() to _PyThreadState_SetCurrent() to reflect what it actually does.

https://bugs.python.org/issue46008

@ericsnowcurrently ericsnowcurrently force-pushed the threadstate-activate-separately branch from dc6ead3 to 70dcd2f Compare Dec 7, 2021
@ericsnowcurrently ericsnowcurrently force-pushed the threadstate-activate-separately branch from 70dcd2f to a743301 Compare Dec 7, 2021
@ericsnowcurrently ericsnowcurrently merged commit 1f384e3 into python:main Dec 8, 2021
11 checks passed
@ericsnowcurrently ericsnowcurrently deleted the threadstate-activate-separately branch Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants