Commit c4eb3b3
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
- Lib/test
- Misc/NEWS.d/next/Core_and_Builtins
- Modules/_testinternalcapi
- Python
- Tools/cases_generator
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments