]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98831: Finish the UNPACK_SEQUENCE family (#101666)
authorGuido van Rossum <guido@python.org>
Tue, 7 Feb 2023 23:44:37 +0000 (15:44 -0800)
committerGitHub <noreply@github.com>
Tue, 7 Feb 2023 23:44:37 +0000 (15:44 -0800)
commitaacbdb0c650492756738b044e6ddf8b72f89a1a2
treef36e5be44c5415e626b72f0255f46a1615eff29e
parent753fc8a5d64369cd228c3e43fef1811ac3cfde83
gh-98831: Finish the UNPACK_SEQUENCE family (#101666)

New generator feature: Generate useful glue for output arrays, so you can just write values to the output array (no bounds checking). Rewrote UNPACK_SEQUENCE_TWO_TUPLE to use this, and also UNPACK_SEQUENCE_{TUPLE,LIST}.
Python/bytecodes.c
Python/generated_cases.c.h
Python/opcode_metadata.h
Tools/cases_generator/generate_cases.py
Tools/cases_generator/test_generator.py