This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brandtbucher
Recipients Mark.Shannon, brandtbucher, iritkatriel, rok.mandeljc, serhiy.storchaka
Date 2021-11-09.00:02:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636416166.3.0.663236960445.issue45757@roundup.psfhosted.org>
In-reply-to
Content
I have a hunch that this is caused in optimize_basic_block. In general, we don't bother clearing the oparg when peepholing instructions into NOPs.

We could either start becoming more principled about that and fix all of the existing NOPs, or just update instrsize and write_op_arg to ignore args for instructions that don't use them.

The latter seems easier and less error-prone.
History
Date User Action Args
2021-11-09 00:02:46brandtbuchersetrecipients: + brandtbucher, Mark.Shannon, serhiy.storchaka, iritkatriel, rok.mandeljc
2021-11-09 00:02:46brandtbuchersetmessageid: <1636416166.3.0.663236960445.issue45757@roundup.psfhosted.org>
2021-11-09 00:02:46brandtbucherlinkissue45757 messages
2021-11-09 00:02:46brandtbuchercreate