-
-
Notifications
You must be signed in to change notification settings - Fork 34k
gh-112720: make it easier to subclass and modify dis.ArgResolver's jump arg resolution #115564
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
Conversation
…r's jump arg resolution
markshannon
left a comment
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.
The changes looks good.
I'm a bit concerned that we are going to end up with an overly complex tool for presenting both bytecode and IR, when we might be better of with two tools. One for IR and one for code objects. What do you think?
I'm not sure. So far I don't think my changes made dis more complicated. They made it more structured (and configurable). |
…r's jump arg resolution (python#115564)
…r's jump arg resolution (python#115564)
…r's jump arg resolution (python#115564)
This is useful when using dis to display an intermediate, or custom, instruction stream. In that case the jump args may have different meaning than in actual bytecode.