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 terry.reedy
Recipients georg.brandl, terry.reedy
Date 2008-07-17.22:24:16
SpamBayes Score 0.00034154995
Marked as misclassified No
Message-id <1216333457.94.0.303934316374.issue3400@psf.upfronthosting.co.za>
In-reply-to
Content
dis / Python Bytecode Instructions is missing
UNPACK_EX
STORE_LOCALS
LOAD_BUILD_CLASS
MAKE_BYTES
which appear in dis.opname (3.0 version).

Suggestion: After entry for UNPACK_SEQUENCE(count), add
UNPACK_EX(bytepair)
Used for starred assignment.  Similar to UNPACK_SEQUENCE except 1) the
lo and hi bytes of the argument are the number of unstarred targets
before and after the starred target and 2) the values between the first
lo and last hi are collected into a list for the starred target.

I deduced this because *a,b; a,*b; *a,b,c; a,*b,c; and a,b,*c as targets
produce byte pairs of 0,1; 1,0; 0,2; 1,1; and 2,0 (arguments 256, 1,
512, 257, and 2).

The other three are new since 2.5 but do not make much sense to me.  I
will ask on pydev for clarification.  I do not have 2.6 to check its
version of .opname to determine which of these belong there too.
History
Date User Action Args
2008-07-17 22:24:18terry.reedysetspambayes_score: 0.00034155 -> 0.00034154995
recipients: + terry.reedy, georg.brandl
2008-07-17 22:24:17terry.reedysetspambayes_score: 0.00034155 -> 0.00034155
messageid: <1216333457.94.0.303934316374.issue3400@psf.upfronthosting.co.za>
2008-07-17 22:24:17terry.reedylinkissue3400 messages
2008-07-17 22:24:16terry.reedycreate