these builtins have to be initialized

This commit is contained in:
Benjamin Peterson 2009-05-09 18:10:51 +00:00
parent c3491d310f
commit 8bc5b68159
5 changed files with 25 additions and 6 deletions

View file

@ -1595,6 +1595,15 @@ _Py_ReadyTypes(void)
if (PyType_Ready(&PyMemberDescr_Type) < 0)
Py_FatalError("Can't initialize member descriptor type");
if (PyType_Ready(&PyFilter_Type) < 0)
Py_FatalError("Can't initialize filter type");
if (PyType_Ready(&PyMap_Type) < 0)
Py_FatalError("Can't initialize map type");
if (PyType_Ready(&PyZip_Type) < 0)
Py_FatalError("Can't initialize zip type");
}