Searched refs:ZipImportError (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Modules/ |
D | zipimport.c | 43 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/cpython3/Modules/ |
D | zipimport.c | 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() [all …]
|
/external/python/cpython3/Doc/library/ |
D | zipimport.rst | 50 .. exception:: ZipImportError 70 :exc:`ZipImportError` is raised if *archivepath* doesn't point to a valid ZIP 85 :exc:`ZipImportError` if the module couldn't be found. 100 was imported. Raise :exc:`ZipImportError` if the module couldn't be 109 :exc:`ZipImportError` if the module couldn't be found, return 117 :exc:`ZipImportError` if the module couldn't be found. 124 :exc:`ZipImportError` if it wasn't found.
|
/external/python/cpython2/Doc/library/ |
D | zipimport.rst | 55 .. 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/cpython3/Lib/importlib/ |
D | resources.py | 14 from zipimport import ZipImportError 341 except ZipImportError:
|
/external/python/cpython2/Lib/test/ |
D | test_zipimport.py | 392 self.assertRaises(zipimport.ZipImportError, 449 error = zipimport.ZipImportError
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport.py | 720 self.assertRaises(zipimport.ZipImportError, 749 with self.assertRaises(zipimport.ZipImportError) as cm: 781 error = zipimport.ZipImportError
|
/external/python/cpython3/Tools/c-globals/ |
D | ignored-globals.txt | 93 ZipImportError
|
/external/python/setuptools/ |
D | CHANGES.rst | 2104 Fixes ZipImportError complaining about a 'bad local header'.
|