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.
Created on 2008年07月17日 22:24 by terry.reedy, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg69918 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2008年07月17日 22:24 | |
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. |
|||
| msg69919 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年07月17日 22:26 | |
LOAD_BUILD_CLASS is 3.0 only and I documented it. |
|||
| msg69923 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2008年07月17日 22:53 | |
Terry, would you like to contribute a patch (even if only for the one you understand)? |
|||
| msg70092 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2008年07月20日 21:39 | |
MAKE_BYTES is no longer in opcode.h; removed it in r65160. Documented the other three, which are new in 3k, in r65161. Thanks! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:36 | admin | set | github: 47650 |
| 2008年07月20日 21:39:33 | georg.brandl | set | status: open -> closed resolution: fixed messages: + msg70092 |
| 2008年07月17日 22:53:31 | loewis | set | nosy:
+ loewis messages: + msg69923 |
| 2008年07月17日 22:26:11 | benjamin.peterson | set | nosy:
+ benjamin.peterson messages: + msg69919 |
| 2008年07月17日 22:24:17 | terry.reedy | create | |