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 saulshanabrook
Recipients JelleZijlstra, Mark.Shannon, saulshanabrook
Date 2022-02-12.14:24:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644675853.08.0.718879915371.issue46724@roundup.psfhosted.org>
In-reply-to
Content
Ah, I see that to represent a negative 4 byte signed integer as an arg, we actually do need the 4 instructions, since each is a byte, to get the most significant bit to a 1?

I wasn't able to find anything anywhere which says if the bytecode should or should not contain negative opargs, so I am not sure if this is a bug or intended behavior, to emit the three EXTENDED_ARGs in order to represent
History
Date User Action Args
2022-02-12 14:24:13saulshanabrooksetrecipients: + saulshanabrook, Mark.Shannon, JelleZijlstra
2022-02-12 14:24:13saulshanabrooksetmessageid: <1644675853.08.0.718879915371.issue46724@roundup.psfhosted.org>
2022-02-12 14:24:13saulshanabrooklinkissue46724 messages
2022-02-12 14:24:13saulshanabrookcreate