◐ Shell
clean mode source ↗

gh-146092: Fix error handling in _BINARY_OP_ADD_UNICODE opcode by vstinner · Pull Request #146117 · python/cpython

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.

Fidget-Spinner

@vstinner

Fidget-Spinner

ljfp pushed a commit to ljfp/cpython that referenced this pull request

Apr 25, 2026
…ython#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.