Home
last modified time | relevance | path

Searched refs:ZipImportError (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Dzipimport.c43 static PyObject *ZipImportError; variable
75 PyErr_SetString(ZipImportError, "archive path is empty"); in zipimporter_init()
79 PyErr_SetString(ZipImportError, in zipimporter_init()
141 PyErr_SetString(ZipImportError, "not a Zip file"); in zipimporter_init()
234 PyErr_SetString(ZipImportError, "path too long"); in make_filename()
411 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_is_package()
434 PyErr_SetString(ZipImportError, "path too long"); in zipimporter_get_data()
487 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_get_source()
730 PyErr_Format(ZipImportError, "can't open Zip file: " in read_directory()
867 PyErr_Format(ZipImportError, "can't read Zip file: %.200s", archive); in read_directory()
[all …]
/external/python/cpython2/Doc/library/
Dzipimport.rst55 .. exception:: ZipImportError
75 :exc:`ZipImportError` is raised if *archivepath* doesn't point to a valid ZIP
90 :exc:`ZipImportError` if the module couldn't be found.
102 was imported. Raise :exc:`ZipImportError` if the module couldn't be
111 :exc:`ZipImportError` if the module couldn't be found, return
119 :exc:`ZipImportError` if the module couldn't be found.
126 :exc:`ZipImportError` if it wasn't found.
/external/python/cpython2/Lib/test/
Dtest_zipimport.py392 self.assertRaises(zipimport.ZipImportError,
449 error = zipimport.ZipImportError