-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
gh-123165: make dis functions render positions on demand
#123168
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 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
0fdc1dd
add the `show_positions` formal parameter to `dis` functions
picnixz 3157e24
add dummy `_get_positions_width` function
picnixz a8eab11
allow to show code's positions in `dis`
picnixz 352c16e
cosmetic amendments
picnixz 6cd65cf
fix detection
picnixz aed2959
add test
picnixz 2edff6f
simplify tests
picnixz 1dd8d67
add What's New entry
picnixz 4e52413
blurb
picnixz 7a608e7
add docs
picnixz 9c75597
fixup! rst
picnixz e14740a
fixup! rst
picnixz fe32424
fixup! rst
picnixz a0dce9c
change style
picnixz b8c1bc8
address review
picnixz 954a312
fix rendering
picnixz e908990
fix docs
picnixz df02d44
fix docstring
picnixz c644767
fix init ordering
picnixz 56bcaef
update CLI arg
picnixz 4355fc6
fix representation
picnixz d5d2343
fix f-string
picnixz 760beed
update What's New
picnixz 2356ef5
update docs
picnixz ca3cf87
unify location rendering
picnixz 9117895
keep `lineno_width` parameter instead
picnixz d48f759
address review
picnixz 860a436
improve test coverage
picnixz 9dc5ed2
cosmetic adjustements
picnixz 8d8b145
cosmetic adjustements
picnixz 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
unify location rendering
- Loading branch information
commit ca3cf876709b2862be0cdd5cd974f69c957157af
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.
Uh oh!
There was an error while loading. Please reload this page.