GH-94851: check refcnt of immortal objects after finalization (GH-95001)

This commit is contained in:
Kumar Aditya 2022-07-25 23:13:59 +05:30 committed by GitHub
parent ac6a94c669
commit 73ee5a6b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4430 additions and 1 deletions

View file

@ -1687,6 +1687,9 @@ finalize_interp_types(PyInterpreterState *interp)
_PyUnicode_Fini(interp);
_PyFloat_Fini(interp);
#ifdef Py_DEBUG
_PyStaticObjects_CheckRefcnt();
#endif
}