Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-112137: change dis output to display labels instead of offsets#112138
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
25 commits Select commitHold shift + click to select a range
5470f75
Instruction gets the label
iritkatriel54cb8ca
replace offsets by labels
iritkatrielc363ee8
📜🤖 Added by blurb_it.
blurb-it[bot]6ac23fd
Merge branch 'main' into dis_labels
iritkatriel852c5c4
distinguish between jump targets (J) and exception handlers (H)
iritkatrielaf97cee
nice exception ranges
iritkatrield2884ed
labels in exception table, and on separate line in the code
iritkatrielc527ded
fix tests
iritkatrielb3914e6
do not collapse excaption table in tests
iritkatrielefd5906
update dis.rst doctest
iritkatriel83ae74e
whitespace
iritkatrielbac6628
whitespace
iritkatriel390c7a2
add option to include offset and labels on same line as instruction
iritkatriel020c742
fix doctest
iritkatriel965a3cd
linenumber, then labels, then (optionally) offsets
iritkatriel7d00ddb
update tests
iritkatriela7de18c
fix doctest
iritkatrielcc24af8
whitespace
iritkatriel6542b06
whitespace
iritkatriel823b0e1
add test with offsets
iritkatriel2219a96
add doc
iritkatrielf52d698
whitespace
iritkatriel278aae3
whitespace
iritkatriel5420f6b
tweak doc
iritkatrield741666
remove extra line
iritkatrielFile 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
replace offsets by labels
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit54cb8ca3dff4e6b3f465a5b31e3429cc9e8babb2
There are no files selected for viewing
47 changes: 30 additions & 17 deletionsLib/dis.py
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.
Uh oh!
There was an error while loading.Please reload this page.
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.