Staging
v0.5.1
https://github.com/python/cpython
Revision 13bc13960cc83dbd1cb5701d9a59ac9b9144b205 authored by Mark Shannon on 23 January 2020, 09:25:17 UTC, committed by GitHub on 23 January 2020, 09:25:17 UTC
* 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.
1 parent f9e07e1
History
Tip revision: 13bc13960cc83dbd1cb5701d9a59ac9b9144b205 authored by Mark Shannon on 23 January 2020, 09:25:17 UTC
bpo-39320: Handle unpacking of *values in compiler (GH-17984)
Tip revision: 13bc139
File Mode Size
test
__init__.py -rw-r--r-- 3.2 KB
__main__.py -rw-r--r-- 472 bytes
async_case.py -rw-r--r-- 5.6 KB
case.py -rw-r--r-- 57.4 KB
loader.py -rw-r--r-- 22.2 KB
main.py -rw-r--r-- 11.0 KB
mock.py -rw-r--r-- 96.8 KB
result.py -rw-r--r-- 7.3 KB
runner.py -rw-r--r-- 7.6 KB
signals.py -rw-r--r-- 2.3 KB
suite.py -rw-r--r-- 12.5 KB
util.py -rw-r--r-- 5.1 KB

back to top