Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_zipimport.py455 zi = zipimport.zipimporter(TEMP_ZIP)
464 self.assertIsInstance(find_mod, zipimport.zipimporter)
475 self.assertIsInstance(spec.loader, zipimport.zipimporter)
508 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK)
527 zi = zipimport.zipimporter(TEMP_ZIP)
546 self.assertIsInstance(spec.loader, zipimport.zipimporter)
568 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir)
587 zi2 = zipimport.zipimporter(pkg_path)
593 self.assertIsInstance(find_mod_dotted, zipimport.zipimporter)
602 self.assertIsInstance(spec.loader, zipimport.zipimporter)
[all …]
Dtest_cmd_line_script.py275 zipimport.zipimporter)
285 zipimport.zipimporter)
295 zipimport.zipimporter)
305 zipimport.zipimporter)
328 script_dir, 'test_pkg', zipimport.zipimporter,
336 zipimport.zipimporter,
/third_party/python/Doc/library/
Dzipimport.rst56 Exception raised by zipimporter objects. It's a subclass of :exc:`ImportError`,
62 zipimporter Objects
65 :class:`zipimporter` is the class for importing ZIP files.
67 .. class:: zipimporter(archivepath)
69 Create a new zipimporter instance. *archivepath* must be a path to a ZIP
104 qualified (dotted) module name. It returns the zipimporter instance itself
187 empty string for zipimporter objects which point to the root of the ZIP
192 :class:`zipimporter` constructor.
Dpkgutil.rst159 :class:`zipimport.zipimporter`.
198 :class:`zipimport.zipimporter`.
/third_party/python/Python/
Dimport.c79 _Py_IDENTIFIER(zipimporter); in _PyImportZip_Init()
80 PyObject *zipimporter = _PyObject_GetAttrId(zipimport, in _PyImportZip_Init() local
83 if (zipimporter == NULL) { in _PyImportZip_Init()
91 err = PyList_Insert(path_hooks, 0, zipimporter); in _PyImportZip_Init()
92 Py_DECREF(zipimporter); in _PyImportZip_Init()
/third_party/python/Lib/
Dpkgutil.py371 from zipimport import zipimporter
401 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
Dzipimport.py46 class zipimporter(_bootstrap_external._LoaderBasics): class
/third_party/python/Lib/test/test_importlib/import_/
Dtest_path.py103 new_path_hooks = [zipimport.zipimporter,
/third_party/python/Doc/whatsnew/
D3.10.rst1502 Add methods related to :pep:`451`: :meth:`~zipimport.zipimporter.find_spec`,
1503 :meth:`zipimport.zipimporter.create_module`, and
1504 :meth:`zipimport.zipimporter.exec_module`.
1507 Add :meth:`~zipimport.zipimporter.invalidate_caches` method.
1616 * :meth:`zimport.zipimporter.load_module` has been deprecated in
1617 preference for :meth:`~zipimport.zipimporter.exec_module`.
/third_party/python/Misc/NEWS.d/
D3.10.0a3.rst406 Deprecate zipimport.zipimporter.load_module() in favour of exec_module().
625 Implement PEP 451/spec methods on zipimport.zipimporter: find_spec(),
D3.7.0a2.rst68 Fix an assertion failure in `zipimporter.get_source()` in case of a bad
D3.10.0a4.rst692 Fixed bug where :mod:`zipimporter` sometimes reports an incorrect cause of
D3.10.0a7.rst647 Add an invalidate_caches() method to the zipimport.zipimporter class to
D3.6.3rc1.rst98 Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows,
D3.10.1.rst688 Have zipimport.zipimporter.find_spec() not raise an exception when the
D3.7.0a3.rst214 ``zipimport.zipimporter`` object. Patch by Oren Milman.
D3.5.2rc1.rst342 Fix possible integer overflow and heap corruption in zipimporter.get_data().
D3.6.0a1.rst806 Fix possible integer overflow and heap corruption in zipimporter.get_data().
D3.7.0a1.rst227 Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows,
/third_party/python/Tools/c-analyzer/
DTODO543 Python/import.c:_PyImportZip_Init():PyId_zipimporter _Py_IDENTIFIER(zipimporter)
/third_party/python/Misc/
DHISTORY93 zipimporter.get_data().
6913 zipimport.zipimporter).