-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
GH-98831: Implement array support in cases generator #100912
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
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
4b17476
Tweak 'This file is generated...' header
gvanrossum 69f04e4
Start on array stack effects
gvanrossum b9bd7e3
Simple input array effects work
gvanrossum bb53c44
Ignore Context when comparing Nodes
gvanrossum 4a15c53
Improve stack effect counting (TODO: use everywhere)
gvanrossum 0a1e9a2
Fix stack effect counting in most places
gvanrossum b023236
Fix TODO
gvanrossum 9ec91e1
Fix opcode metadata for array stack effects
gvanrossum af785de
Array-ize LIST_APPEND
gvanrossum 4fddf2b
Array-ize SET_ADD
gvanrossum ac22115
Array-ize LIST_EXTEND
gvanrossum 6c83be0
Array-ize SET_UPDATE
gvanrossum c7999dd
Array-ize BUILD_TUPLE
gvanrossum a7aa425
Array-ize BUILD_LIST
gvanrossum 11f6a58
Use ERROR_IF() in BUILD_STRING
gvanrossum 597fd69
Merge remote-tracking branch 'origin/main' into cases-array
gvanrossum abff4ae
Apply most suggestions from code review
gvanrossum a02a9eb
Accept more general dimensions
gvanrossum 2bcd90f
Fix LIST_EXTEND
gvanrossum c579a40
Fix LIST_APPEND, SET_ADD, SET_UPDATE
gvanrossum 21ac256
Merge remote-tracking branch 'origin/main' into cases-array
gvanrossum 70e983d
Array-ize BUILD_SET
gvanrossum 827481e
Array-ize BUILD_MAP
gvanrossum aa69c55
Array-ize BUILD_CONST_KEY_MAP
gvanrossum 6cbabc7
Add comment warning that RAISE_VARARGS needs to stay legacy
gvanrossum c7cfe9a
Look for 'oparg' in the whole instruction
gvanrossum a1a4688
Add docstring for effect_size()
gvanrossum 16a2d99
Parenthesize certain symbolic effects
gvanrossum 1ef085d
Fix typo in comment
gvanrossum 1bf42ce
Swap args of imaginary MOVE_ITEMS() macro
gvanrossum c2be1ab
Tune for loops
gvanrossum c7edea2
Disallow empty dimension
gvanrossum File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.