Searched refs:PathFinder (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_path.py | 127 self.machinery.PathFinder.find_spec('whatever', [path])) 131 spec = self.machinery.PathFinder.find_spec('whatever', [path]) 143 self.machinery.PathFinder.find_spec('whatever', [path])) 147 spec = self.machinery.PathFinder.find_spec('whatever', [path]) 158 self.machinery.PathFinder.find_spec('whatever', [path])) 162 got = self.machinery.PathFinder.find_spec('whatever', [path]) 185 self.assertIsNone(self.machinery.PathFinder.find_spec('whatever')) 198 self.machinery.PathFinder.invalidate_caches() 205 self.machinery.PathFinder.invalidate_caches() 211 return self.machinery.PathFinder.find_module(*args, **kwargs) [all …]
|
/external/python/cpython3/Tools/importbench/ |
D | importbench.py | 69 sys.meta_path.append(importlib.machinery.PathFinder) 105 sys.meta_path.append(importlib.machinery.PathFinder) 139 sys.meta_path.append(importlib.machinery.PathFinder)
|
/external/python/cpython3/Lib/importlib/ |
D | machinery.py | 12 from ._bootstrap_external import PathFinder
|
D | abc.py | 84 machinery.PathFinder, machinery.WindowsRegistryFinder)
|
D | _bootstrap_external.py | 1238 class PathFinder: class 1638 sys.meta_path.append(PathFinder)
|
/external/python/cpython3/Lib/ |
D | modulefinder.py | 61 importlib.machinery.PathFinder.invalidate_caches() 63 spec = importlib.machinery.PathFinder.find_spec(name, path)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b4.rst | 17 Fix a bug that causes PathFinder to appear twice on sys.meta_path. Patch by
|
D | 3.8.0a1.rst | 1312 Fix a bug that causes PathFinder to appear twice on sys.meta_path. Patch by
|
/external/python/cpython3/Doc/reference/ |
D | import.rst | 712 (:class:`~importlib.machinery.PathFinder`), searches an :term:`import path`, 790 based finder's :meth:`~importlib.machinery.PathFinder.find_spec` method as 792 :meth:`~importlib.machinery.PathFinder.find_spec` is given, it will be a 826 :meth:`~importlib.machinery.PathFinder.find_spec` method will store ``None`` 842 :meth:`importlib.machinery.PathFinder.find_spec` will be the actual current
|
/external/python/cpython3/Doc/library/ |
D | importlib.metadata.rst | 219 The default ``PathFinder`` for Python includes a hook that calls into
|
D | importlib.rst | 316 by :class:`PathFinder`. This ABC is a subclass of :class:`Finder` for 366 cache used by the finder. Used by :meth:`PathFinder.invalidate_caches` 1048 .. class:: PathFinder 1695 SpamMetaPathFinder = importlib.machinery.PathFinder
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 2082 :meth:`importlib.machinery.PathFinder.find_module` is replaced by 2083 :meth:`importlib.machinery.PathFinder.find_spec`; 2337 * :class:`importlib.machinery.PathFinder` now passes on the current working
|
D | 3.7.rst | 2380 * :meth:`importlib.machinery.PathFinder.invalidate_caches` -- which implicitly
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3700 - Issue #18416: importlib.machinery.PathFinder now treats '' as the cwd and 7774 importlib.machinery.PathFinder.
|