]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117139: Add _PyTuple_FromStackRefSteal and use it (#121244)
authorSam Gross <colesbury@gmail.com>
Tue, 2 Jul 2024 16:30:14 +0000 (12:30 -0400)
committerGitHub <noreply@github.com>
Tue, 2 Jul 2024 16:30:14 +0000 (12:30 -0400)
commit8e8d202f552c993f40913b628139a39a5abe6a03
treea907d73519febe133d4b86f57f33908e241ff41a
parent1ac273224a85126c4356e355f7445206fadde7ec
gh-117139: Add _PyTuple_FromStackRefSteal and use it (#121244)

Avoids the extra conversion from stack refs to PyObjects.
Include/internal/pycore_stackref.h
Include/internal/pycore_tuple.h
Objects/tupleobject.c
Python/bytecodes.c
Python/ceval.c
Python/executor_cases.c.h
Python/generated_cases.c.h
Tools/cases_generator/analyzer.py