SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-120321: Add missing "return false" in gen_try_set_executing (gh-144291)

We didn't catch this because of a combination of:

1) falling through to the if-statement below works
2) we only specialized FOR_ITER_GEN for uniquely referenced generators,
   so we didn't trigger the non-thread-safe behavior.
S
Sam Gross committed
6b4538192ddac518b9c15b3f79445c964330dee3
Parent: 66055d0
Committed by GitHub <[email protected]> on 1/27/2026, 9:38:50 PM