mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
GH-94851: check refcnt of immortal objects after finalization (GH-95001)
This commit is contained in:
parent
ac6a94c669
commit
73ee5a6b86
4 changed files with 4430 additions and 1 deletions
|
@ -1687,6 +1687,9 @@ finalize_interp_types(PyInterpreterState *interp)
|
|||
|
||||
_PyUnicode_Fini(interp);
|
||||
_PyFloat_Fini(interp);
|
||||
#ifdef Py_DEBUG
|
||||
_PyStaticObjects_CheckRefcnt();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue