Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_path.py127 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/epid-sdk/parts-site/tools/
Dg++.py23 from parts.tools.Common.Finders import PathFinder
33 install_scanner=[PathFinder(['/usr/bin'])],
49 install_scanner=[PathFinder(['/usr/bin'])],
65 install_scanner=[PathFinder(['/usr/bin'])],
Dgcc.py22 from parts.tools.Common.Finders import PathFinder
34 install_scanner=[PathFinder(['/usr/bin'])],
50 install_scanner=[PathFinder(['/usr/bin'])],
66 install_scanner=[PathFinder(['/usr/bin'])],
/external/python/cpython3/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)
/external/python/cpython3/Lib/importlib/
Dmachinery.py12 from ._bootstrap_external import PathFinder
Dabc.py84 machinery.PathFinder, machinery.WindowsRegistryFinder)
D_bootstrap_external.py1176 class PathFinder: class
1562 sys.meta_path.append(PathFinder)
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b4.rst17 Fix a bug that causes PathFinder to appear twice on sys.meta_path. Patch by
/external/python/cpython3/Doc/reference/
Dimport.rst713 (:class:`~importlib.machinery.PathFinder`), searches an :term:`import path`,
791 based finder's :meth:`~importlib.machinery.PathFinder.find_spec` method as
793 :meth:`~importlib.machinery.PathFinder.find_spec` is given, it will be a
827 :meth:`~importlib.machinery.PathFinder.find_spec` method will store ``None``
843 :meth:`importlib.machinery.PathFinder.find_spec` will be the actual current
/external/python/cpython3/Doc/library/
Dimportlib.rst314 by :class:`PathFinder`. This ABC is a subclass of :class:`Finder` for
363 cache used by the finder. Used by :meth:`PathFinder.invalidate_caches`
1045 .. class:: PathFinder
1692 SpamMetaPathFinder = importlib.machinery.PathFinder
/external/python/cpython3/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.7.rst2378 * :meth:`importlib.machinery.PathFinder.invalidate_caches` -- which implicitly
/external/python/cpython3/Misc/
DHISTORY3700 - Issue #18416: importlib.machinery.PathFinder now treats '' as the cwd and
7774 importlib.machinery.PathFinder.