File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ PyInit__symtable(void)
6363{
6464 PyObject * m ;
6565
66+ if (PyType_Ready (& PySTEntry_Type ) < 0 )
67+ return NULL ;
68+
6669 m = PyModule_Create (& symtablemodule );
6770 if (m == NULL )
6871 return NULL ;
Original file line number Diff line number Diff line change @@ -1710,6 +1710,30 @@ _Py_ReadyTypes(void)
17101710
17111711 if (PyType_Ready (& _PyNamespace_Type ) < 0 )
17121712 Py_FatalError ("Can't initialize namespace type" );
1713+
1714+ if (PyType_Ready (& PyCapsule_Type ) < 0 )
1715+ Py_FatalError ("Can't initialize capsule type" );
1716+
1717+ if (PyType_Ready (& PyLongRangeIter_Type ) < 0 )
1718+ Py_FatalError ("Can't initialize long range iterator type" );
1719+
1720+ if (PyType_Ready (& PyCell_Type ) < 0 )
1721+ Py_FatalError ("Can't initialize cell type" );
1722+
1723+ if (PyType_Ready (& PyInstanceMethod_Type ) < 0 )
1724+ Py_FatalError ("Can't initialize instance method type" );
1725+
1726+ if (PyType_Ready (& PyClassMethodDescr_Type ) < 0 )
1727+ Py_FatalError ("Can't initialize class method descr type" );
1728+
1729+ if (PyType_Ready (& PyMethodDescr_Type ) < 0 )
1730+ Py_FatalError ("Can't initialize method descr type" );
1731+
1732+ if (PyType_Ready (& PyCallIter_Type ) < 0 )
1733+ Py_FatalError ("Can't initialize call iter type" );
1734+
1735+ if (PyType_Ready (& PySeqIter_Type ) < 0 )
1736+ Py_FatalError ("Can't initialize sequence iterator type" );
17131737}
17141738
17151739
Original file line number Diff line number Diff line change @@ -14167,6 +14167,12 @@ int _PyUnicode_Init(void)
1416714167
1416814168 PyType_Ready (& EncodingMapType );
1416914169
14170+ if (PyType_Ready (& PyFieldNameIter_Type ) < 0 )
14171+ Py_FatalError ("Can't initialize field name iterator type" );
14172+
14173+ if (PyType_Ready (& PyFormatterIter_Type ) < 0 )
14174+ Py_FatalError ("Can't initialize formatter iter type" );
14175+
1417014176#ifdef HAVE_MBCS
1417114177 winver .dwOSVersionInfoSize = sizeof (winver );
1417214178 if (!GetVersionEx ((OSVERSIONINFO * )& winver )) {
You can’t perform that action at this time.
0 commit comments