8000 [3.13] gh-125832: Clarify comment for inlined comprehensions as per PEP-709 (gh-126322) by corona10 · Pull Request #126344 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] gh-125832: Clarify comment for inlined comprehensions as per PEP-709 (gh-126322) #126344

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

Merged
merged 2 commits into from
Nov 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add space
  • Loading branch information
corona10 committed Nov 3, 2024
commit f48256360e2639a18a01d360e255b4cdc6ef4070
1 change: 1 addition & 0 deletions Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -5314,6 +5314,7 @@ compiler_call_helper(struct compiler *c, location loc,
return SUCCESS;
}


/* List and set comprehensions work by being inlined at the location where
they are defined. The isolation of iteration variables is provided by
pushing/popping clashing locals on the stack. Generator expressions work
Expand Down
Loading
0