Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-97933: inline list/dict/set comprehensions#101441
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
56 commits Select commitHold shift + click to select a range
72afa83 gh-97933: inline sync list/dict/set comprehensions
carljm8988234 simplify cell handling code slightly
carljm22c4a86 clarify comments
carljmc1b54f0 enable inlining async comprehensions also
carljm43db9b8 fix typo
carljmed3209b Merge branch 'main' into inlinecomp2
carljmaceb6c7 fix outer-cell, inner-local case
carljme57c354 fix restoring NULL (unbound outer name) followed by load
carljm795d854 emit 1 x SWAP N+1 instead of N x SWAP 2
carljm686221a remove stray dis.dis() call
carljmac99697 fix compiler warning about Py_ssize_t -> int conversion
carljmdb208d5 Merge branch 'main' into inlinecomp2
carljm8b76051 Merge branch 'main' into inlinecomp2
carljm4620856 add a couple more tests
carljm8773653 clear comp locals on entry, eval iter expr first
carljmbe3becc Merge branch 'main' into inlinecomp2
carljmf0c051e fix double decref in error case
carljm142859a adjust to RETURN_CONST
carljm568a470 fix up refcounting
carljmadd772e Merge branch 'main' into inlinecomp2
carljm17d5d84 improve importlib comment
carljmb87d209 mark STORE_FAST_MAYBE_NULL as possibly NULLing a local
carljm36b2917 Merge branch 'main' into inlinecomp2
carljmae0bd02 Merge branch 'main' into inlinecomp2
carljm9f0fc5b Merge branch 'main' into inlinecomp2
carljm463c740 add test for NameError/UnboundLocalError
carljm67f50ba fix case where iter var is free in outer scope
carljm73dc0ed Merge branch 'main' into inlinecomp2
carljmecb313c Merge branch 'main' into inlinecomp2
carljm4109baa add inlining of non-function-scope comprehensions
carljmd8802a1 simplify scope handling
carljm1c019a7 Merge branch 'main' into inlinecomp2
carljm24a9d9f Merge branch 'main' into inlinecomp2
carljmb6a025b add tests for comprehensions in class scope
carljm90b34de run all listcomp scope tests in module, class, and func scope
carljm06db319 Merge branch 'main' into inlinecomp2
carljmb52046b handle frame locals materialization in class/module scope
carljm6c5f269 Merge branch 'main' into inlinecomp2
carljm1a8f4a0 Merge branch 'main' into inlinecomp2
carljm1274e2b Merge branch 'main' into inlinecomp2
carljm0727d6f Merge branch 'main' into inlinecomp2
carljm51a1294 update comment
carljm8a78a36 Merge branch 'main' into inlinecomp2
carljm43722b4 review comments
carljmbf9e1f1 fix single backticks
carljmca636a5 better nested test
carljm46c7a4f fix u_fasthidden in nested case
carljmfb9f89e fix refleak
carljmbaacf5f Merge branch 'main' into inlinecomp2
carljm5914d77 remove assumption that class scopes can't have cellvars
carljmffae4e6 Apply suggestions from code review
carljm76077cd Merge branch 'main' into inlinecomp2
carljma8425a6 review comments
carljm656e46b Apply suggestions from code review
carljm1402e7a Apply suggestions from code review
carljm95401fe Merge branch 'main' into inlinecomp2
carljmFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
fix refleak
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitfb9f89ef6a7c8a497c9d23302285cfab5fb38ade
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.