Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing flow control for assignment expression #6120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

da-woods
Copy link
Contributor

@da-woods da-woods commented Apr 1, 2024

Some expressions are partly conditionally evaluated, and so bits of them may be skipped. This has implications if they contain an assignment expression since the variable may not actually be assigned.

The tests for various comprehensions aren't actually needed since they already worked, but are added for completeness.

Fixes #6094

Some expressions are partly conditionally evaluated, and so
bits of them may be skipped. This has implications if they
contain an assignment expression since the variable may not
actually be assigned.

The tests for various comprehensions aren't actually needed
since they already worked, but are added for completeness.

Fixes cython#6094
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] Segmentation fault with Walrus-Operator and same named variables
1 participant