Searched refs:zipimporter (Results 1 - 9 of 9) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_zipimport.py | 456 zi = zipimport.zipimporter(TEMP_ZIP) 465 self.assertIsInstance(find_mod, zipimport.zipimporter) 476 self.assertIsInstance(spec.loader, zipimport.zipimporter) 509 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK) 528 zi = zipimport.zipimporter(TEMP_ZIP) 547 self.assertIsInstance(spec.loader, zipimport.zipimporter) 569 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir) 588 zi2 = zipimport.zipimporter(pkg_path) 594 self.assertIsInstance(find_mod_dotted, zipimport.zipimporter) 603 self.assertIsInstance(spec.loader, zipimport.zipimporter) [all...] |
H A D | test_cmd_line_script.py | 277 zipimport.zipimporter) 287 zipimport.zipimporter) 297 zipimport.zipimporter) 307 zipimport.zipimporter) 330 script_dir, 'test_pkg', zipimport.zipimporter, 338 zipimport.zipimporter,
|
/third_party/python/Lib/ |
H A D | pkgutil.py | 371 from zipimport import zipimporter namespace 401 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
|
H A D | zipimport.py | 4 - zipimporter: a class; its constructor takes a path to a Zip archive. 5 - ZipImportError: exception raised by zipimporter objects. It's a 8 info dicts, as used in zipimporter._files. 27 __all__ = ['ZipImportError', 'zipimporter'] 46 class zipimporter(_bootstrap_external._LoaderBasics): class 47 """zipimporter(archivepath) -> zipimporter object 49 Create a new zipimporter instance. 'archivepath' must be a path to 57 The 'archive' attribute of zipimporter objects contains the name of the 113 fully qualified (dotted) module name. It returns the zipimporter [all...] |
/third_party/python/Python/ |
H A D | import.c | 74 PyObject *zipimporter = PyObject_GetAttr(zipimport, &_Py_ID(zipimporter)); in _PyImportZip_Init() local 76 if (zipimporter == NULL) { in _PyImportZip_Init() 77 _PyErr_Clear(tstate); /* No zipimporter object -- okay */ in _PyImportZip_Init() 79 PySys_WriteStderr("# can't import zipimport.zipimporter\n"); in _PyImportZip_Init() 83 /* sys.path_hooks.insert(0, zipimporter) */ in _PyImportZip_Init() 84 err = PyList_Insert(path_hooks, 0, zipimporter); in _PyImportZip_Init() 85 Py_DECREF(zipimporter); in _PyImportZip_Init()
|
/third_party/jinja2/ |
H A D | loaders.py | 300 if isinstance(loader, zipimport.zipimporter):
|
/third_party/python/Include/internal/ |
H A D | pycore_global_strings.h | 358 STRUCT_FOR_ID(zipimporter)
|
H A D | pycore_runtime_init.h | 981 INIT_ID(zipimporter), \
|
/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test_path.py | 103 new_path_hooks = [zipimport.zipimporter,
|
Completed in 14 milliseconds