Kumar Aditya <rahuladitya...@gmail.com> added the comment:
The following patch further reduces the reference but not sure if it is correct. diff --git a/Objects/object.c b/Objects/object.c index a5ee8eef4a..2ba6d14d5b 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1853,6 +1853,9 @@ static PyTypeObject* static_types[] = { &PyClassMethod_Type, &PyCode_Type, &PyComplex_Type, + &PyContext_Type, + &PyContextVar_Type, + &PyContextToken_Type, &PyCoro_Type, &PyDictItems_Type, &PyDictIterItem_Type, @@ -1911,6 +1914,13 @@ static PyTypeObject* static_types[] = { &_PyAsyncGenAThrow_Type, &_PyAsyncGenWrappedValue_Type, &_PyCoroWrapper_Type, + &_PyHamt_Type, + &_PyHamt_ArrayNode_Type, + &_PyHamt_BitmapNode_Type, + &_PyHamt_CollisionNode_Type, + &_PyHamtKeys_Type, + &_PyHamtValues_Type, + &_PyHamtItems_Type, &_PyInterpreterID_Type, &_PyManagedBuffer_Type, &_PyMethodWrapper_Type, Before: Running Debug|x64 interpreter... [4929 refs, 1988 blocks] After: Running Debug|x64 interpreter... [4541 refs, 1853 blocks] ---------- nosy: +kumaraditya303 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46417> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com