]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-146092: Fix error handling in _BINARY_OP_ADD_UNICODE opcode (#146117)
authorVictor Stinner <vstinner@python.org>
Wed, 18 Mar 2026 16:23:05 +0000 (17:23 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2026 16:23:05 +0000 (17:23 +0100)
commit1e4ed932109c4f8ee4f43bc3e6fdb7710a3606bd
treed95e292ea2e8bbd5cc91b57c427fb538a8fc338f
parent70c7e040d4f50219bd2832391e1a98701281fc58
gh-146092: Fix error handling in _BINARY_OP_ADD_UNICODE opcode (#146117)

Fix also error handling in _BINARY_OP_ADD_FLOAT,
_BINARY_OP_SUBTRACT_FLOAT and _BINARY_OP_MULTIPLY_FLOAT opcodes.
PyStackRef_FromPyObjectSteal() must not be called with a NULL
pointer.
Modules/_testinternalcapi/test_cases.c.h
Python/bytecodes.c
Python/executor_cases.c.h
Python/generated_cases.c.h