gh-140544: Always assume that thread locals are available (GH-140690)
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.
P
Peter Bierma committed
2cefa70eb92321c39f7d66bd862b2f66cd06f0fa
Parent: 88ad41f
Committed by GitHub <noreply@github.com>
on 10/28/2025, 1:07:19 PM