Generated interpreter does not spill the correct value of the stack pointer for output arrays. #131729
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
The generated C code for
UNPACK_SEQUENCE_TUPLE
saves the stack pointer before increasing it to account for the output array. This could result in some of the items being prematurely destroyed ifseq
is deleted.https://github.com/python/cpython/blob/main/Python/generated_cases.c.h#L11927
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: