Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commented Jan 27, 2026

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.

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.
@colesburycolesbury merged commit 6b45381 into python:mainJan 27, 2026
61 checks passed
@colesburycolesbury deleted the gh-120321-missing-return branch January 27, 2026 21:38
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@colesbury@mpage