Searched refs:ModuleSpec (Results 1 – 25 of 28) sorted by relevance
12
/third_party/python/Lib/test/test_importlib/ |
D | test_util.py | 51 spec = self.machinery.ModuleSpec('test', Loader()) 59 spec = self.machinery.ModuleSpec('test', Loader()) 73 spec = self.machinery.ModuleSpec('test', Loader()) 79 spec = self.machinery.ModuleSpec('test', object()) 84 spec = self.machinery.ModuleSpec('test', object()) 90 spec = self.machinery.ModuleSpec('test', loader) 95 spec = self.machinery.ModuleSpec('test.pkg', object()) 100 spec = self.machinery.ModuleSpec('test', object(), is_package=True) 105 spec = self.machinery.ModuleSpec('test', object(), origin='some/path') 111 spec = self.machinery.ModuleSpec('test', object()) [all …]
|
D | test_spec.py | 72 self.spec = self.machinery.ModuleSpec(self.name, self.loader) 73 self.loc_spec = self.machinery.ModuleSpec(self.name, self.loader, 78 spec = self.machinery.ModuleSpec(self.name, self.loader) 89 spec = self.machinery.ModuleSpec(self.name, None) 100 spec = self.machinery.ModuleSpec(self.name, self.loader, 112 spec = self.machinery.ModuleSpec(self.name, self.loader, 124 spec = self.machinery.ModuleSpec(self.name, self.loader, 171 spec = self.machinery.ModuleSpec('spam.eggs', self.loader) 176 spec = self.machinery.ModuleSpec('spam.eggs', self.loader, 192 spec = self.machinery.ModuleSpec(self.name, self.loader) [all …]
|
D | util.py | 463 spec = machinery.ModuleSpec(
|
D | test_api.py | 181 return machinery['Source'].ModuleSpec(name, (name, path))
|
D | test_abc.py | 433 spec = self.machinery.ModuleSpec('blah', None)
|
/third_party/python/Lib/importlib/ |
D | resources.py | 9 from importlib.machinery import ModuleSpec 47 spec = cast(ModuleSpec, package.__spec__)
|
D | machinery.py | 3 from ._bootstrap import ModuleSpec
|
D | _bootstrap_external.py | 758 spec = _bootstrap.ModuleSpec(name, loader, origin=location) 1386 spec = _bootstrap.ModuleSpec(fullname, None) 1418 spec = _bootstrap.ModuleSpec(fullname, None) 1573 spec = _bootstrap.ModuleSpec(fullname, None)
|
D | _bootstrap.py | 320 class ModuleSpec: class 444 return ModuleSpec(name, loader, origin=origin, is_package=is_package) 485 spec = ModuleSpec(name, loader, origin=origin)
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test___loader__.py | 13 return machinery.ModuleSpec(fullname, self)
|
D | test_api.py | 17 spec = machinery.ModuleSpec(fullname, cls)
|
D | test_path.py | 169 success_finder.spec = self.machinery.ModuleSpec('whatever', __loader__)
|
/third_party/python/Doc/library/ |
D | types.rst | 241 This attribute is to match :attr:`importlib.machinery.ModuleSpec.loader` 257 :attr:`importlib.machinery.ModuleSpec.name`. 266 This attribute is to match :attr:`importlib.machinery.ModuleSpec.parent` 282 instance of :class:`importlib.machinery.ModuleSpec`.
|
D | runpy.rst | 174 :pep:`451` -- A ModuleSpec Type for the Import System
|
D | importlib.rst | 62 A ModuleSpec Type for the Import System 211 a :class:`~importlib.machinery.ModuleSpec`. 1396 .. class:: ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None) 1663 A factory function for creating a :class:`~importlib.machinery.ModuleSpec` 1665 for ModuleSpec. The function uses available :term:`loader` APIs, such as 1673 A factory function for creating a :class:`~importlib.machinery.ModuleSpec`
|
D | pkgutil.rst | 85 :class:`ModuleSpec`.
|
/third_party/python/Lib/ |
D | imp.py | 341 spec = importlib.machinery.ModuleSpec(
|
D | zipimport.py | 183 spec = _bootstrap.ModuleSpec(name=fullname, loader=None,
|
/third_party/python/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 16 spec = self.machinery.ModuleSpec(
|
/third_party/python/Doc/c-api/ |
D | module.rst | 342 The function receives a :py:class:`~importlib.machinery.ModuleSpec` 392 ModuleSpec *spec*. This behaves like :c:func:`PyModule_FromDefAndSpec2` 400 ModuleSpec *spec*, assuming the API version *module_api_version*.
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 1072 self.assertIs(machinery.ModuleSpec, mod.ModuleSpec)
|
/third_party/python/Lib/test/ |
D | test_runpy.py | 164 mod_spec = importlib.machinery.ModuleSpec(mod_name,
|
/third_party/python/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 233 module.__spec__ = self.machinery.ModuleSpec('bad name', loader)
|
/third_party/python/Doc/reference/ |
D | import.rst | 530 See :class:`~importlib.machinery.ModuleSpec` for details on the contents of
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 93 * :ref:`A ModuleSpec Type <whatsnew-pep-451>` for the Import System 380 PEP 451: A ModuleSpec Type for the Import System
|
12