Searched refs:zipimport (Results 1 – 25 of 35) sorted by relevance
12
/third_party/python/Lib/test/ |
D | test_zipimport.py | 18 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 …]
|
D | test_cmd_line_script.py | 6 import zipimport 275 zipimport.zipimporter) 285 zipimport.zipimporter) 295 zipimport.zipimporter) 305 zipimport.zipimporter) 328 script_dir, 'test_pkg', zipimport.zipimporter, 336 zipimport.zipimporter,
|
D | test_zipimport_support.py | 11 import zipimport 67 zipimport._zip_directory_cache.clear()
|
D | test_pkgutil.py | 584 import zipimport 586 zipimport._zip_directory_cache.clear()
|
/third_party/python/Lib/test/libregrtest/ |
D | refleak.py | 46 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/ |
D | zipimport.rst | 1 :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.
|
D | modules.rst | 15 zipimport.rst
|
D | pkgutil.rst | 159 :class:`zipimport.zipimporter`. 198 :class:`zipimport.zipimporter`.
|
/third_party/python/Lib/ |
D | pkgutil.py | 370 import zipimport 371 from zipimport import zipimporter 374 dirlist = sorted(zipimport._zip_directory_cache[importer.archive])
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test_path.py | 12 import zipimport 103 new_path_hooks = [zipimport.zipimporter,
|
/third_party/python/Lib/test/ziptestdata/ |
D | README.md | 11 zipimport machinery (that'd look for `__main__.py`) is not being used.
|
/third_party/python/Python/ |
D | import.c | 56 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/ |
D | loaders.py | 10 import zipimport 300 if isinstance(loader, zipimport.zipimporter):
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0b2.rst | 198 Fix a regression in zipimport's compile_source(). zipimport should use the
|
D | 3.5.3rc1.rst | 229 Fix a regression in zipimport's compile_source(). zipimport should use the 249 Prevents zipimport from unnecessarily encoding a filename (patch by Eryk
|
D | 3.10.0a3.rst | 406 Deprecate zipimport.zipimporter.load_module() in favour of exec_module(). 625 Implement PEP 451/spec methods on zipimport.zipimporter: find_spec(),
|
D | 3.7.0b1.rst | 604 :meth:`get_resource_reader()` method. File-based and zipimport-based
|
D | 3.5.2rc1.rst | 1234 Fixed possible integer overflows in zipimport. 1300 Improve zipimport's support for namespace packages.
|
D | 3.10.0a7.rst | 647 Add an invalidate_caches() method to the zipimport.zipimporter class to
|
D | 3.9.0a2.rst | 251 Fix :exc:`NameError` in :mod:`zipimport`. Patch by Karthikeyan Singaravelan.
|
D | 3.6.3rc1.rst | 98 Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows,
|
D | 3.6.0b1.rst | 79 Prevents zipimport from unnecessarily encoding a filename (patch by Eryk
|
/third_party/python/Doc/whatsnew/ |
D | 3.10.rst | 1507 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`.
|
D | 3.1.rst | 324 :mod:`zipimport` (or any other conformant :pep:`302` loader).
|
/third_party/python/ |
D | Makefile.pre.in | 748 # Regenerate Python/importlib_zipimport.h from Lib/zipimport.py 750 ./Programs/_freeze_importlib zipimport \ 751 $(srcdir)/Lib/zipimport.py \
|
12