Searched refs:submodule_search_locations (Results 1 – 22 of 22) sorted by relevance
/third_party/python/Lib/test/test_importlib/ |
D | test_spec.py | 84 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 …]
|
D | test_reader.py | 109 reader = NamespaceReader(namespacedata01.__spec__.submodule_search_locations) 121 reader = NamespaceReader(namespacedata01.__spec__.submodule_search_locations)
|
D | test_abc.py | 435 spec.submodule_search_locations = paths 479 module.__spec__.submodule_search_locations)
|
D | util.py | 291 submodule_search_locations=getattr(module, '__path__', None))
|
D | test_util.py | 102 self.assertEqual(module.__path__, spec.submodule_search_locations)
|
/third_party/python/Lib/importlib/ |
D | _bootstrap.py | 363 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.py | 722 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 …]
|
D | resources.py | 50 if spec.submodule_search_locations is not None: 51 paths = spec.submodule_search_locations
|
D | abc.py | 132 if not found.submodule_search_locations: 135 portions = found.submodule_search_locations
|
D | _common.py | 67 if wrap_spec(resolved).submodule_search_locations is None:
|
D | __init__.py | 100 if spec.submodule_search_locations is None:
|
/third_party/python/Lib/ |
D | pyclbr.py | 171 if spec.submodule_search_locations is not None: 172 tree['__path__'] = spec.submodule_search_locations
|
D | runpy.py | 141 if spec.submodule_search_locations is not None:
|
D | imp.py | 213 submodule_search_locations=[])
|
D | pkgutil.py | 568 portions = spec.submodule_search_locations or []
|
D | zipimport.py | 185 spec.submodule_search_locations.append(path)
|
/third_party/jinja2/ |
D | loaders.py | 302 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/ |
D | loader.py | 315 if spec.submodule_search_locations is not None:
|
/third_party/python/Lib/test/ |
D | test_pkgutil.py | 301 submodule_search_locations=[])
|
/third_party/python/Doc/library/ |
D | importlib.rst | 921 ``__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/ |
D | test_discovery.py | 835 submodule_search_locations=['/a', '/b']
|
/third_party/python/Doc/reference/ |
D | import.rst | 356 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
|