mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +00:00
Issue #5437: A preallocated MemoryError instance should not hold traceback
data (including local variables caught in the stack trace) alive infinitely.
This commit is contained in:
parent
1842d0c4d8
commit
07e20ef50b
5 changed files with 130 additions and 34 deletions
|
@ -156,7 +156,6 @@ PyAPI_DATA(PyObject *) PyExc_VMSError;
|
|||
|
||||
PyAPI_DATA(PyObject *) PyExc_BufferError;
|
||||
|
||||
PyAPI_DATA(PyObject *) PyExc_MemoryErrorInst;
|
||||
PyAPI_DATA(PyObject *) PyExc_RecursionErrorInst;
|
||||
|
||||
/* Predefined warning categories */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue