gh-118527: Intern code consts in free-threaded build (#118667)
We already intern and immortalize most string constants. In the free-threaded build, other constants can be a source of reference count contention because they are shared by all threads running the same code objects.
S
Sam Gross committed
723d4d2fe8e77b398f0ccffcfa541149caaac6a1
Parent: 8d8275b
Committed by GitHub <noreply@github.com>
on 5/7/2024, 12:12:39 AM