Skip to content

Commit 11ebe1d

Browse files
bhuvi27cursoragent
andcommitted
pythongh-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. Co-authored-by: Cursor <[email protected]>
1 parent 8646385 commit 11ebe1d

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)