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 freakboy3742
Recipients docs@python, freakboy3742
Date 2015-12-18.01:42:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450402947.72.0.549978632576.issue25836@psf.upfronthosting.co.za>
In-reply-to
Content
It turns out I wasn't completely correct. As per my second point, the interpretation of annotations needs be clarified, but my first point about default_args including the annotation count is incorrect. 

My error was made because of the documentation for EXTENDED_ARG. The current text implies that you need to combine the argument value of the EXTENDED_ARG opcode with the argument value for the previous opcode. However if you're using dis.Bytecode() to extract bytecodes, that composition is done for you - you can effectively ignore the EXTENDED_ARG opcode.
History
Date User Action Args
2015-12-18 01:42:27freakboy3742setrecipients: + freakboy3742, docs@python
2015-12-18 01:42:27freakboy3742setmessageid: <1450402947.72.0.549978632576.issue25836@psf.upfronthosting.co.za>
2015-12-18 01:42:27freakboy3742linkissue25836 messages
2015-12-18 01:42:25freakboy3742create