gh-143939: Fix assignment to `_PyThreadStateImpl.generator_return_kind` (gh-143951)
The assignment to generator_return_kind has to be after any potentially escaping calls to ensure that it's not overwritten.
S
Sam Gross committed
43bb6300b3e1b477436592ecbbbebbe1534499cf
Parent: a126893
Committed by GitHub <noreply@github.com>
on 1/20/2026, 5:51:55 PM