-
-
Notifications
You must be signed in to change notification settings - Fork 34k
gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c #106758
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 3 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
36a7d56
gh-105481: add haslocal to _opcode.py. Generate most oplists in opcod…
iritkatriel 75019ca
added HAS_FREE flag. Removed HAS_FREE from the HAS_LOCAL list
iritkatriel 494680a
add hasjump, soft deprecate hasjrel and hasjabs. Fix build bug
iritkatriel 24786fb
generate hasexc from the C macros instead of defining it again
iritkatriel 563b431
typo
iritkatriel 227756f
Merge remote-tracking branch 'upstream/main' into opcode_py
iritkatriel 1b13b96
ascii quotes
iritkatriel 0f5ae32
make clinic
iritkatriel 289fad1
remove oplists
iritkatriel 598ba2a
import less from opcode in build script. _opcode.has_* don't exist pr…
iritkatriel d2d355e
hascompare in old versions as well
iritkatriel 27eb2cc
remove redundant init
iritkatriel 998024a
📜🤖 Added by blurb_it.
blurb-it[bot] ffa4ee3
Merge branch 'main' into opcode_py
iritkatriel ce76a60
remove unnecessary comment
iritkatriel 4194a12
make the tests more precise
iritkatriel 6b8c46b
sort the lists
iritkatriel e15f7d5
address some of the code review comments
iritkatriel 21fe0a4
remove hard-coded lists from the tests
iritkatriel 75795db
remove opcode metadata file from generated files list so diff are vis…
iritkatriel 1a0a2b2
import _opcode directly into dis, rather than via opcode
iritkatriel f530469
add stack effect to dis.__all__
iritkatriel 71ffe34
Merge branch 'main' into opcode_py
iritkatriel d525c53
import _specializations, _specialized_instructions directly from _opc…
iritkatriel 5e1c4a4
update Tools/scripts/summarize_stats.py to use _opcode_metadata inste…
iritkatriel 6077263
Revert "update Tools/scripts/summarize_stats.py to use _opcode_metada…
iritkatriel 98ba11f
Revert "import _specializations, _specialized_instructions directly f…
iritkatriel cc8e5e1
Revert "add stack effect to dis.__all__"
iritkatriel 31dbfec
Revert "import _opcode directly into dis, rather than via opcode"
iritkatriel 1abf6ca
Merge branch 'main' into opcode_py
iritkatriel 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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that separate from Larry's limerick at the top?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the same thing. I'm planning to try and get rid of this issue - figure out what is needed in the build and separate it out somehow.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bot we've gotta keep a limerick in. :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it in the stable ABI?