8000 Generated interpreter does not spill the correct value of the stack pointer for output arrays. · Issue #131729 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Generated interpreter does not spill the correct value of the stack pointer for output arrays. #131729
Closed
@markshannon

Description

@markshannon

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 if seq 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0