Skip to content

Commit c4eb3b3

Browse files
committed
gh-151119: Sync eval stack in LIST_APPEND on allocation failure
Treat _PyList_AppendTakeRef as an escaping call in the cases generator so LIST_APPEND and CALL_LIST_APPEND save the stack pointer before list resize can trigger decref. Add regression test.
1 parent 8646385 commit c4eb3b3

9 files changed

Lines changed: 954 additions & 1049 deletions

File tree

Include/internal/pycore_opcode_metadata.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)