Lines Matching refs:ZipImportError
49 static PyObject *ZipImportError; variable
112 PyErr_SetString(ZipImportError, "archive path is empty"); in zipimport_zipimporter___init___impl()
151 PyErr_SetString(ZipImportError, "not a Zip file"); in zipimport_zipimporter___init___impl()
635 PyErr_Format(ZipImportError, "can't find module %R", fullname); in zipimport_zipimporter_is_package_impl()
749 PyErr_Format(ZipImportError, "can't find module %R", fullname); in zipimport_zipimporter_get_source_impl()
965 _PyErr_FormatFromCause(ZipImportError, in read_directory()
1133 PyErr_Format(ZipImportError, "can't read Zip file: %R", archive); in read_directory()
1138 PyErr_Format(ZipImportError, "%s: %R", errmsg, archive); in read_directory()
1203 PyErr_Format(ZipImportError, "negative data size"); in get_data()
1275 PyErr_SetString(ZipImportError, in get_data()
1298 PyErr_Format(ZipImportError, "can't read Zip file: %R", archive); in get_data()
1303 PyErr_Format(ZipImportError, "%s: %R", errmsg, archive); in get_data()
1340 PyErr_SetString(ZipImportError, in unmarshal_code()
1589 PyErr_Format(ZipImportError, "can't find module %R", fullname); in get_module_code()
1641 ZipImportError = PyErr_NewException("zipimport.ZipImportError", in PyInit_zipimport()
1643 if (ZipImportError == NULL) in PyInit_zipimport()
1646 Py_INCREF(ZipImportError); in PyInit_zipimport()
1648 ZipImportError) < 0) in PyInit_zipimport()