Home
last modified time | relevance | path

Searched refs:PathFinder (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Lib/test/test_importlib/import_/
Dtest_path.py130 self.machinery.PathFinder.find_spec('whatever', [path]))
136 spec = self.machinery.PathFinder.find_spec('whatever', [path])
150 self.machinery.PathFinder.find_spec('whatever', [path]))
156 spec = self.machinery.PathFinder.find_spec('whatever', [path])
167 self.machinery.PathFinder.find_spec('whatever', [path]))
171 got = self.machinery.PathFinder.find_spec('whatever', [path])
194 self.assertIsNone(self.machinery.PathFinder.find_spec('whatever'))
207 self.machinery.PathFinder.invalidate_caches()
214 self.machinery.PathFinder.invalidate_caches()
222 return self.machinery.PathFinder.find_module(*args, **kwargs)
[all …]
/third_party/python/Tools/importbench/
Dimportbench.py69 sys.meta_path.append(importlib.machinery.PathFinder)
105 sys.meta_path.append(importlib.machinery.PathFinder)
139 sys.meta_path.append(importlib.machinery.PathFinder)
/third_party/python/Lib/importlib/
Dmachinery.py10 from ._bootstrap_external import PathFinder
Dabc.py98 machinery.PathFinder, machinery.WindowsRegistryFinder)
D_bootstrap_external.py1320 class PathFinder: class
1677 sys.meta_path.append(PathFinder)
/third_party/python/Lib/
Dmodulefinder.py60 importlib.machinery.PathFinder.invalidate_caches()
62 spec = importlib.machinery.PathFinder.find_spec(name, path)
/third_party/python/Misc/NEWS.d/
D3.7.0b4.rst17 Fix a bug that causes PathFinder to appear twice on sys.meta_path. Patch by
D3.8.0a1.rst1312 Fix a bug that causes PathFinder to appear twice on sys.meta_path. Patch by
/third_party/python/Doc/reference/
Dimport.rst728 (:class:`~importlib.machinery.PathFinder`), searches an :term:`import path`,
806 based finder's :meth:`~importlib.machinery.PathFinder.find_spec` method as
808 :meth:`~importlib.machinery.PathFinder.find_spec` is given, it will be a
842 :meth:`~importlib.machinery.PathFinder.find_spec` method will store ``None``
858 :meth:`importlib.machinery.PathFinder.find_spec` will be the actual current
/third_party/python/Doc/library/
Dimportlib.metadata.rst306 The default ``PathFinder`` for Python includes a hook that calls into
Dimportlib.rst323 by :class:`importlib.machinery.PathFinder`.
376 :meth:`importlib.machinery.PathFinder.invalidate_caches`
1156 .. class:: PathFinder
1835 SpamMetaPathFinder = importlib.machinery.PathFinder
/third_party/python/Doc/whatsnew/
D3.4.rst2082 :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
D3.10.rst1652 :meth:`importlib.machinery.PathFinder.find_module`,
D3.7.rst2386 * :meth:`importlib.machinery.PathFinder.invalidate_caches` -- which implicitly
/third_party/python/Misc/
DHISTORY3700 - Issue #18416: importlib.machinery.PathFinder now treats '' as the cwd and
7774 importlib.machinery.PathFinder.