]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39320: Handle unpacking of **values in compiler (GH-18141)
authorMark Shannon <mark@hotpy.org>
Mon, 27 Jan 2020 09:57:45 +0000 (09:57 +0000)
committerGitHub <noreply@github.com>
Mon, 27 Jan 2020 09:57:45 +0000 (09:57 +0000)
commit8a4cd700a7426341c2074a2b580306d2d60ec839
tree64ff9fdc0361fe05e0ef5a2508e832a5de03b830
parent72b1004657e60c900e4cd031b2635b587f4b280e
bpo-39320: Handle unpacking of **values in compiler (GH-18141)

* Add DICT_UPDATE and DICT_MERGE bytecodes. Use them for ** unpacking.

* Remove BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL, as they are now unused.

* Update magic number for ** unpacking opcodes.

* Update dis.rst to incorporate new bytecodes.

* Add blurb entry.
Doc/library/dis.rst
Include/opcode.h
Lib/importlib/_bootstrap_external.py
Lib/opcode.py
Misc/NEWS.d/next/Core and Builtins/2020-01-15-15-50-22.bpo-39320.oWARyk.rst [new file with mode: 0644]
Python/ceval.c
Python/compile.c
Python/importlib.h
Python/importlib_external.h
Python/opcode_targets.h