◐ Shell
clean mode source ↗

gh-103323: Get the "Current" Thread State from a Thread-Local Variable by ericsnowcurrently · Pull Request #103324 · python/cpython

added 2 commits

April 6, 2023 16:03

@ericsnowcurrently

carljm added a commit to carljm/cpython that referenced this pull request

Apr 24, 2023

carljm added a commit to carljm/cpython that referenced this pull request

Apr 24, 2023

vstinner

vstinner

vstinner

ZeroIntensity added a commit that referenced this pull request

Oct 28, 2025
Python has required thread local support since 3.12 (see GH-103324). By assuming that thread locals are always supported, we can improve the performance of third-party extensions by allowing them to access the attached thread and interpreter states directly.

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request

Dec 6, 2025
…onGH-140690)

Python has required thread local support since 3.12 (see pythonGH-103324). By assuming that thread locals are always supported, we can improve the performance of third-party extensions by allowing them to access the attached thread and interpreter states directly.