-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
gh-90997: bpo-46841: Disassembly of quickened code #32099
Conversation
Is this ready for review? If not, perhaps mark it as a "draft" for now. |
Looks promising. Will need some tests for the new output format. |
One problem is that some instructions are too long(like def adaptive_test(a, b):
c = a + b
print(c.__class__) Exec
Exec
|
Already add some test cases for quicken code in the dis. |
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.
Could you remove the changes to _testinternalcapi
, so we don't need to export the _PyCode_Quicken
function.
I have made the requested changes; please review again :) @markshannon @brandtbucher |
Thanks for making the requested changes! : please review the changes made to this pull request. |
On small typo, otherwise looks good. |
a0ed0f7
to
82b053f
Compare
Thanks. :) |
Thanks for making the requested changes! : please review the changes made to this pull request. |
Thanks @penguin-wwy for doing this. |
https://bugs.python.org/issue46841