Home
last modified time | relevance | path

Searched refs:zipimport (Results 1 – 25 of 35) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_zipimport.py18 import zipimport
87 zipimport._zip_directory_cache.clear()
241 except zipimport.ZipImportError as exc:
455 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)
551 self.assertIsNone(zipimport._zip_directory_cache.get(zi.archive))
[all …]
Dtest_cmd_line_script.py6 import zipimport
275 zipimport.zipimporter)
285 zipimport.zipimporter)
295 zipimport.zipimporter)
305 zipimport.zipimporter)
328 script_dir, 'test_pkg', zipimport.zipimporter,
336 zipimport.zipimporter,
Dtest_zipimport_support.py11 import zipimport
67 zipimport._zip_directory_cache.clear()
Dtest_pkgutil.py584 import zipimport
586 zipimport._zip_directory_cache.clear()
/third_party/python/Lib/test/libregrtest/
Drefleak.py46 import zipimport
50 zdc = zipimport._zip_directory_cache.copy()
162 import zipimport
166 zipimport._zip_directory_cache.clear()
167 zipimport._zip_directory_cache.update(zdc)
/third_party/python/Doc/library/
Dzipimport.rst1 :mod:`zipimport` --- Import modules from Zip archives
4 .. module:: zipimport
9 **Source code:** :source:`Lib/zipimport.py`
15 needed to use the :mod:`zipimport` module explicitly; it is automatically used
201 :mod:`zipimport` module is not explicitly used.
Dmodules.rst15 zipimport.rst
Dpkgutil.rst159 :class:`zipimport.zipimporter`.
198 :class:`zipimport.zipimporter`.
/third_party/python/Lib/
Dpkgutil.py370 import zipimport
371 from zipimport import zipimporter
374 dirlist = sorted(zipimport._zip_directory_cache[importer.archive])
/third_party/python/Lib/test/test_importlib/import_/
Dtest_path.py12 import zipimport
103 new_path_hooks = [zipimport.zipimporter,
/third_party/python/Lib/test/ziptestdata/
DREADME.md11 zipimport machinery (that'd look for `__main__.py`) is not being used.
/third_party/python/Python/
Dimport.c56 PyObject *path_hooks, *zipimport; in _PyImportZip_Init() local
71 zipimport = PyImport_ImportModule("zipimport"); in _PyImportZip_Init()
72 if (zipimport == NULL) { in _PyImportZip_Init()
80 PyObject *zipimporter = _PyObject_GetAttrId(zipimport, in _PyImportZip_Init()
82 Py_DECREF(zipimport); in _PyImportZip_Init()
/third_party/jinja2/
Dloaders.py10 import zipimport
300 if isinstance(loader, zipimport.zipimporter):
/third_party/python/Misc/NEWS.d/
D3.6.0b2.rst198 Fix a regression in zipimport's compile_source(). zipimport should use the
D3.5.3rc1.rst229 Fix a regression in zipimport's compile_source(). zipimport should use the
249 Prevents zipimport from unnecessarily encoding a filename (patch by Eryk
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.0b1.rst604 :meth:`get_resource_reader()` method. File-based and zipimport-based
D3.5.2rc1.rst1234 Fixed possible integer overflows in zipimport.
1300 Improve zipimport's support for namespace packages.
D3.10.0a7.rst647 Add an invalidate_caches() method to the zipimport.zipimporter class to
D3.9.0a2.rst251 Fix :exc:`NameError` in :mod:`zipimport`. Patch by Karthikeyan Singaravelan.
D3.6.3rc1.rst98 Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows,
D3.6.0b1.rst79 Prevents zipimport from unnecessarily encoding a filename (patch by Eryk
/third_party/python/Doc/whatsnew/
D3.10.rst1507 zipimport section in Improved Modules
1509 Add methods related to :pep:`451`: :meth:`~zipimport.zipimporter.find_spec`,
1510 :meth:`zipimport.zipimporter.create_module`, and
1511 :meth:`zipimport.zipimporter.exec_module`.
1514 Add :meth:`~zipimport.zipimporter.invalidate_caches` method.
1624 preference for :meth:`~zipimport.zipimporter.exec_module`.
D3.1.rst324 :mod:`zipimport` (or any other conformant :pep:`302` loader).
/third_party/python/
DMakefile.pre.in748 # Regenerate Python/importlib_zipimport.h from Lib/zipimport.py
750 ./Programs/_freeze_importlib zipimport \
751 $(srcdir)/Lib/zipimport.py \

12