]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-144569: Avoid creating temporary objects in `BINARY_SLICE` for list, tuple, and...
authorHai Zhu <haiizhu@outlook.com>
Mon, 2 Mar 2026 17:02:38 +0000 (01:02 +0800)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2026 17:02:38 +0000 (17:02 +0000)
commit107863ee17788e83ffa63368a33f7afe6f7a1410
tree13dbd5c017f2e11121e6e4c8f33a91eccc1cd5d2
parent1cf5abedeb97ff6ed222afd28e650b9ecc384094
gh-144569: Avoid creating temporary objects in `BINARY_SLICE` for list, tuple, and unicode (GH-144590)

* Scalar replacement of BINARY_SLICE for list, tuple, and unicode
13 files changed:
Include/cpython/ceval.h
Include/internal/pycore_list.h
Include/internal/pycore_tuple.h
Include/internal/pycore_unicodeobject.h
Misc/NEWS.d/next/Core_and_Builtins/2026-02-08-13-14-00.gh-issue-144569.pjlJVe.rst [new file with mode: 0644]
Modules/_testinternalcapi/test_cases.c.h
Objects/listobject.c
Objects/tupleobject.c
Objects/unicodeobject.c
Python/bytecodes.c
Python/ceval.c
Python/executor_cases.c.h
Python/generated_cases.c.h