Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 382 Bytes

2026-06-17-15-55-00.gh-issue-149146.Tr8aLk.rst

File metadata and controls

6 lines (6 loc) · 382 Bytes

Fix a crash in :c:func:`!_Py_Dealloc` when deallocating deeply nested container objects under memory pressure (for example after a :exc:`MemoryError`). The trashcan now also deposits objects based on a per-thread dealloc-depth counter, not only on the stack-pointer margin, so it still defers cleanup when RLIMIT_AS prevents the kernel from growing the C stack. Patch by Bhuvi.