Home
last modified time | relevance | path

Searched refs:submodule_search_locations (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Lib/test/test_importlib/
Dtest_spec.py84 self.assertIs(spec.submodule_search_locations, None)
95 self.assertIs(spec.submodule_search_locations, None)
107 self.assertIs(spec.submodule_search_locations, None)
119 self.assertEqual(spec.submodule_search_locations, [])
134 submodule_search_locations=None,
145 submodule_search_locations=None,
156 submodule_search_locations=None,
524 self.assertIs(spec.submodule_search_locations, None)
539 self.assertIs(spec.submodule_search_locations, None)
552 self.assertIs(spec.submodule_search_locations, None)
[all …]
Dtest_reader.py109 reader = NamespaceReader(namespacedata01.__spec__.submodule_search_locations)
121 reader = NamespaceReader(namespacedata01.__spec__.submodule_search_locations)
Dtest_abc.py435 spec.submodule_search_locations = paths
479 module.__spec__.submodule_search_locations)
Dutil.py291 submodule_search_locations=getattr(module, '__path__', None))
Dtest_util.py102 self.assertEqual(module.__path__, spec.submodule_search_locations)
/third_party/python/Lib/importlib/
D_bootstrap.py363 self.submodule_search_locations = [] if is_package else None
374 if self.submodule_search_locations is not None:
376 .format(self.submodule_search_locations))
380 smsl = self.submodule_search_locations
385 smsl == other.submodule_search_locations and
407 if self.submodule_search_locations is None:
432 submodule_search_locations=search)
481 submodule_search_locations = list(module.__path__)
483 submodule_search_locations = None
488 spec.submodule_search_locations = submodule_search_locations
[all …]
D_bootstrap_external.py722 submodule_search_locations=_POPULATE): argument
772 if submodule_search_locations is _POPULATE:
781 spec.submodule_search_locations = []
783 spec.submodule_search_locations = submodule_search_locations
784 if spec.submodule_search_locations == []:
787 spec.submodule_search_locations.append(dirname)
1243 if spec.submodule_search_locations:
1244 self._path = spec.submodule_search_locations
1387 spec.submodule_search_locations = portions
1409 portions = spec.submodule_search_locations
[all …]
Dresources.py50 if spec.submodule_search_locations is not None:
51 paths = spec.submodule_search_locations
Dabc.py132 if not found.submodule_search_locations:
135 portions = found.submodule_search_locations
D_common.py67 if wrap_spec(resolved).submodule_search_locations is None:
D__init__.py100 if spec.submodule_search_locations is None:
/third_party/python/Lib/
Dpyclbr.py171 if spec.submodule_search_locations is not None:
172 tree['__path__'] = spec.submodule_search_locations
Drunpy.py141 if spec.submodule_search_locations is not None:
Dimp.py213 submodule_search_locations=[])
Dpkgutil.py568 portions = spec.submodule_search_locations or []
Dzipimport.py185 spec.submodule_search_locations.append(path)
/third_party/jinja2/
Dloaders.py302 pkgdir = next(iter(spec.submodule_search_locations)) # type: ignore
309 if spec.submodule_search_locations:
310 roots.extend(spec.submodule_search_locations)
/third_party/python/Lib/unittest/
Dloader.py315 if spec.submodule_search_locations is not None:
/third_party/python/Lib/test/
Dtest_pkgutil.py301 submodule_search_locations=[])
/third_party/python/Doc/library/
Dimportlib.rst921 ``__spec__.submodule_search_locations`` that is not ``None``.
1406 reflected in ``__spec__.submodule_search_locations``.
1432 .. attribute:: submodule_search_locations
1671 .. function:: spec_from_file_location(name, location, *, loader=None, submodule_search_locations=No…
1877 path = parent_module.__spec__.submodule_search_locations
/third_party/python/Lib/unittest/test/
Dtest_discovery.py835 submodule_search_locations=['/a', '/b']
/third_party/python/Doc/reference/
Dimport.rst356 if spec.origin is None and spec.submodule_search_locations is not None:
874 :term:`portion`, the path entry finder sets "submodule_search_locations" to