Home
last modified time | relevance | path

Searched refs:zipimporter (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_zipimport.py413 zi = zipimport.zipimporter(TEMP_ZIP)
419 self.assertIsInstance(find_mod, zipimport.zipimporter)
449 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK)
471 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir)
484 zi2 = zipimport.zipimporter(pkg_path)
487 self.assertIsInstance(find_mod_dotted, zipimport.zipimporter)
517 zi = zipimport.zipimporter(TEMP_ZIP)
631 zipimport.zipimporter(filename).load_module(TESTMOD)
643 zipimport.zipimporter(filename)
644 zipimport.zipimporter(os.fsencode(filename))
[all …]
Dtest_cmd_line_script.py268 zipimport.zipimporter)
276 zipimport.zipimporter)
300 zip_name, 'test_pkg', zipimport.zipimporter)
308 zipimport.zipimporter)
/external/python/cpython2/Doc/library/
Dzipimport.rst57 Exception raised by zipimporter objects. It's a subclass of :exc:`ImportError`,
63 zipimporter Objects
66 :class:`zipimporter` is the class for importing ZIP files.
68 .. class:: zipimporter(archivepath)
70 Create a new zipimporter instance. *archivepath* must be a path to a ZIP
81 qualified (dotted) module name. It returns the zipimporter instance itself
138 empty string for zipimporter objects which point to the root of the ZIP
143 :class:`zipimporter` constructor.
/external/python/cpython3/Doc/library/
Dzipimport.rst52 Exception raised by zipimporter objects. It's a subclass of :exc:`ImportError`,
58 zipimporter Objects
61 :class:`zipimporter` is the class for importing ZIP files.
63 .. class:: zipimporter(archivepath)
65 Create a new zipimporter instance. *archivepath* must be a path to a ZIP
76 qualified (dotted) module name. It returns the zipimporter instance itself
136 empty string for zipimporter objects which point to the root of the ZIP
141 :class:`zipimporter` constructor.
Dpkgutil.rst159 :class:`zipimport.zipimporter`.
198 :class:`zipimport.zipimporter`.
/external/python/cpython2/Lib/test/
Dtest_zipimport.py216 zi = zipimport.zipimporter(TEMP_ZIP)
239 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK)
260 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir)
293 zi = zipimport.zipimporter(TEMP_ZIP)
393 zipimport.zipimporter, filename)
402 self.assertRaises(TypeError, zipimport.zipimporter, None)
403 self.assertRaises(TypeError, zipimport.zipimporter, TESTMOD, kwd=None)
439 z = zipimport.zipimporter(TESTMOD)
/external/python/cpython3/Python/
Dimport.c111 _Py_IDENTIFIER(zipimporter); in _PyImportZip_Init()
112 PyObject *zipimporter = _PyObject_GetAttrId(zimpimport, in _PyImportZip_Init() local
115 if (zipimporter == NULL) { in _PyImportZip_Init()
123 err = PyList_Insert(path_hooks, 0, zipimporter); in _PyImportZip_Init()
124 Py_DECREF(zipimporter); in _PyImportZip_Init()
/external/python/cpython2/Lib/
Dpkgutil.py329 from zipimport import zipimporter
360 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
/external/python/cpython3/Lib/
Dpkgutil.py366 from zipimport import zipimporter
396 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_path.py102 new_path_hooks = [zipimport.zipimporter,
/external/python/cpython2/Python/
Dimport.c246 PyObject *zipimporter = PyObject_GetAttrString(zimpimport, in _PyImportHooks_Init() local
249 if (zipimporter == NULL) { in _PyImportHooks_Init()
257 err = PyList_Append(path_hooks, zipimporter); in _PyImportHooks_Init()
258 Py_DECREF(zipimporter); in _PyImportHooks_Init()
/external/python/cpython3/Misc/
DNEWS2484 zipimporter.get_data().
4330 zipimporter.get_data().
DHISTORY93 zipimporter.get_data().
6913 zipimport.zipimporter).
/external/python/cpython2/Misc/
DNEWS464 zipimporter.get_data().