/external/python/cpython3/Lib/importlib/ |
D | resources.py | 275 def __init__(self, zipimporter, fullname): argument 276 self.zipimporter = zipimporter 283 return BytesIO(self.zipimporter.get_data(path)) 299 self.zipimporter.get_data(path) 312 fullname_path = Path(self.zipimporter.get_filename(self.fullname)) 313 relative_path = fullname_path.relative_to(self.zipimporter.archive) 319 for filename in self.zipimporter._files: 337 def _zipimport_get_resource_reader(zipimporter, fullname): argument 339 if not zipimporter.is_package(fullname): 343 return _ZipImportResourceReader(zipimporter, fullname)
|
/external/python/cpython3/Lib/test/ |
D | test_zipimport.py | 431 zi = zipimport.zipimporter(TEMP_ZIP) 437 self.assertIsInstance(find_mod, zipimport.zipimporter) 467 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK) 489 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir) 502 zi2 = zipimport.zipimporter(pkg_path) 505 self.assertIsInstance(find_mod_dotted, zipimport.zipimporter) 535 zi = zipimport.zipimporter(TEMP_ZIP) 553 zi = zipimport.zipimporter(TEMP_ZIP) 666 zipimport.zipimporter(filename).load_module(TESTMOD) 678 zipimport.zipimporter(filename) [all …]
|
D | test_cmd_line_script.py | 260 zipimport.zipimporter) 268 zipimport.zipimporter) 291 script_dir, 'test_pkg', zipimport.zipimporter, 299 zipimport.zipimporter,
|
/external/python/cpython3/Doc/library/ |
D | zipimport.rst | 52 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.
|
D | pkgutil.rst | 159 :class:`zipimport.zipimporter`. 198 :class:`zipimport.zipimporter`.
|
/external/python/cpython2/Doc/library/ |
D | zipimport.rst | 57 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/cpython2/Lib/test/ |
D | test_zipimport.py | 216 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/cpython2/Lib/ |
D | pkgutil.py | 327 from zipimport import zipimporter 358 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
|
/external/python/cpython3/Lib/ |
D | pkgutil.py | 369 from zipimport import zipimporter 399 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
|
/external/python/cpython3/Python/ |
D | import.c | 114 _Py_IDENTIFIER(zipimporter); in _PyImportZip_Init() 115 PyObject *zipimporter = _PyObject_GetAttrId(zimpimport, in _PyImportZip_Init() local 118 if (zipimporter == NULL) { in _PyImportZip_Init() 126 err = PyList_Insert(path_hooks, 0, zipimporter); in _PyImportZip_Init() 127 Py_DECREF(zipimporter); in _PyImportZip_Init()
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_path.py | 102 new_path_hooks = [zipimport.zipimporter,
|
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 1769 register_loader_type(zipimport.zipimporter, ZipProvider) 1888 dists = find_eggs_in_zip(zipimport.zipimporter(subpath), subpath) 1893 submeta = EggMetadata(zipimport.zipimporter(subpath)) 1898 register_finder(zipimport.zipimporter, find_eggs_in_zip) 2206 register_namespace_handler(zipimport.zipimporter, file_ns_handler)
|
/external/python/cpython2/Python/ |
D | import.c | 246 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/NEWS.d/ |
D | 3.7.0a2.rst | 68 Fix an assertion failure in `zipimporter.get_source()` in case of a bad
|
D | 3.6.3rc1.rst | 98 Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows,
|
D | 3.7.0a3.rst | 215 ``zipimport.zipimporter`` object. Patch by Oren Milman.
|
D | 3.5.2rc1.rst | 342 Fix possible integer overflow and heap corruption in zipimporter.get_data().
|
D | 3.6.0a1.rst | 806 Fix possible integer overflow and heap corruption in zipimporter.get_data().
|
D | 3.7.0a1.rst | 227 Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows,
|
/external/python/setuptools/setuptools/command/ |
D | easy_install.py | 891 metadata = EggMetadata(zipimport.zipimporter(egg_path)) 1897 zipimport.zipimporter(path)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.12rc1.rst | 233 Fix possible integer overflow and heap corruption in zipimporter.get_data().
|
/external/python/setuptools/docs/ |
D | pkg_resources.txt | 1509 ``EggMetadata(zipimporter)`` 1511 `zipimporter` should be a ``zipimport.zipimporter`` instance, and may
|
/external/python/cpython3/Misc/ |
D | HISTORY | 93 zipimporter.get_data(). 6913 zipimport.zipimporter).
|