commit | 13bc13960cc83dbd1cb5701d9a59ac9b9144b205 | [log] [tgz] |
---|---|---|
author | Mark Shannon <mark@hotpy.org> | Thu Jan 23 09:25:17 2020 +0000 |
committer | GitHub <noreply@github.com> | Thu Jan 23 09:25:17 2020 +0000 |
tree | 582d8286864561b8a29be0491f837c22efd1f07e | |
parent | f9e07e116c32b6dc4561d0bdeb452ccde13b0e7c [diff] |
bpo-39320: Handle unpacking of *values in compiler (GH-17984) * Add three new bytecodes: LIST_TO_TUPLE, LIST_EXTEND, SET_UPDATE. Use them to implement star unpacking expressions. * Remove four bytecodes BUILD_LIST_UNPACK, BUILD_TUPLE_UNPACK, BUILD_SET_UNPACK and BUILD_TUPLE_UNPACK_WITH_CALL opcodes as they are now unused. * Update magic number and dis.rst for new bytecodes.