gh-120321: Make gi_yieldfrom thread-safe in free-threading build (#144292)
Add a FRAME_SUSPENDED_YIELD_FROM_LOCKED state that acts as a brief lock, preventing other threads from transitioning the frame state while gen_getyieldfrom reads the yield-from object off the stack.
S
Sam Gross committed
a01694dacd8e8bbbd019e8b87dbc7bc7173cb7f1
Parent: a704832
Committed by GitHub <noreply@github.com>
on 1/30/2026, 5:20:27 PM