initialize more global type objects (closes #16369)
diff --git a/Objects/object.c b/Objects/object.c
index 9fea13a..e732dce 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -2198,6 +2198,18 @@
if (PyType_Ready(&PyFile_Type) < 0)
Py_FatalError("Can't initialize file type");
+
+ if (PyType_Ready(&PyCapsule_Type) < 0)
+ Py_FatalError("Can't initialize capsule type");
+
+ if (PyType_Ready(&PyCell_Type) < 0)
+ Py_FatalError("Can't initialize cell type");
+
+ if (PyType_Ready(&PyCallIter_Type) < 0)
+ Py_FatalError("Can't initialize call iter type");
+
+ if (PyType_Ready(&PySeqIter_Type) < 0)
+ Py_FatalError("Can't initialize sequence iterator type");
}