8000 gh-103323: Get the "Current" Thread State from a Thread-Local Variable by ericsnowcurrently · Pull Request #103324 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-103323: Get the "Current" Thread State from a Thread-Local Variable #103324

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

Merged
Merged
Prev Previous commit
Add a NEWS entry.
  • Loading branch information
ericsnowcurrently committed Apr 7, 2023
commit 2332a2e7e04e13a6dbc8f78e5ed1b6c730b01cc6
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
We've replaced our use of ``_PyRuntime.tstate_current`` with a thread-local
variable. This is a fairly low-level implementation detail, and there
should be no change in behavior.
0