-
-
Notifications
You must be signed in to change notification settings - Fork 31.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-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK #92945
Conversation
3bf6f02
to
30c7a4b
Compare
Sorry Dong-hee, I'm useless at |
Okay, Then I need to request this review from Brandt. |
230261,230262c230261,230262
< 1118398 EXTENDED_ARG_QUICK 1
< 1118400 LOAD_GLOBAL 248 (g125)
---
> 1118398 EXTENDED_ARG_QUICK 513
> 1118400 LOAD_GLOBAL 131576 (g65789)
230265,230266c230265,230266
< 1118416 EXTENDED_ARG_QUICK 1
< 1118418 LOAD_GLOBAL 250 (g126)
---
> 1118416 EXTENDED_ARG_QUICK 513
> 1118418 LOAD_GLOBAL 131578 (g65790)
230269,230270c230269,230270
< 1118434 EXTENDED_ARG_QUICK 1
< 1118436 LOAD_GLOBAL 252 (g127)
---
> 1118434 EXTENDED_ARG_QUICK 513
> 1118436 LOAD_GLOBAL 131580 (g65791)
230273,230274c230273,230274
< 1118452 EXTENDED_ARG_QUICK 1
< 1118454 LOAD_GLOBAL 254 (g128)
---
> 1118452 EXTENDED_ARG_QUICK 513
> 1118454 LOAD_GLOBAL 131582 (g65792)
230277,230278c230277,230278
< 1118470 EXTENDED_ARG_QUICK 2
< 1118472 LOAD_GLOBAL 0 (g1)
---
> 1118470 EXTENDED_ARG_QUICK 514
> 1118472 LOAD_GLOBAL 131584 (g65793)
230281,230282c230281,230282
< 1118488 EXTENDED_ARG_QUICK 2
< 1118490 LOAD_GLOBAL 2 (g2)
---
> 1118488 EXTENDED_ARG_QUICK 514
> 1118490 LOAD_GLOBAL 131586 (g65794) |
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.
Thanks for the fix!
This should also have a test in test_dis
. As a simple example, the statement *_, _ = ...
should always generate an instruction UNPACK_EX(256)
(proving that EXTENDED_ARG
works correctly).
When you're done making the requested changes, leave the comment: |
f392232
to
bd236e0
Compare
I have made the requested changes; please review again |
Thanks for making the requested changes! @brandtbucher: please review the changes made to this pull request. |
@brandtbucher gentle ping :) |
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.
Looks good! I found a couple of spelling nits, but feel free to merge otherwise:
Thanks @corona10 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
…ythongh-92945) (cherry picked from commit b013804) Co-authored-by: Dong-hee Na <donghee.na@python.org>
Thank you Brandt for the review! |
closes: gh-92932