Skip to content

Conversation

da-woods
Copy link
Contributor

@da-woods da-woods commented Dec 9, 2023

Do this by ignoring the generator expression iterator when searching for yield/await nodes - the iterator is evaluated in the outer scope instead.

Fixes #5851

Do this by ignoring the generator expression iterator when
searching for yield/await nodes - the iterator is evaluated in
the outer scope instead.

Fixes cython#5851
@scoder
Copy link
Contributor

scoder commented Dec 9, 2023 via email

@scoder scoder merged commit 9f52196 into cython:master Dec 19, 2023
scoder pushed a commit that referenced this pull request Dec 19, 2023
Ignore the generator expression iterator when searching for yield/await nodes - the iterator is evaluated in the outer scope instead.

Closes #5851
@scoder
Copy link
Contributor

scoder commented Dec 19, 2023

3.0.7 commit: 3c4acd2

rinarakaki pushed a commit to rinarakaki/cython that referenced this pull request Sep 25, 2024
Ignore the generator expression iterator when searching for yield/await nodes - the iterator is evaluated in the outer scope instead.

Closes cython#5851
rinarakaki pushed a commit to rinarakaki/cython that referenced this pull request Sep 25, 2024
Ignore the generator expression iterator when searching for yield/await nodes - the iterator is evaluated in the outer scope instead.

Closes cython#5851
Sign up for free to 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.

[BUG] cython does not translate await in set comprehension properly
2 participants