gh-120321: Add missing "return false" in gen_try_set_executing (gh-14… · python/cpython@6b45381 · GitHub
Skip to content

Commit 6b45381

Browse files
authored
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.
1 parent 66055d0 commit 6b45381

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/ceval_macros.h

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)