Searched refs:ModuleSpec (Results 1 – 25 of 27) sorted by relevance
12
| /third_party/python/Lib/test/test_importlib/ |
| D | test_util.py | 52 spec = self.machinery.ModuleSpec('test', Loader()) 60 spec = self.machinery.ModuleSpec('test', Loader()) 74 spec = self.machinery.ModuleSpec('test', Loader()) 80 spec = self.machinery.ModuleSpec('test', object()) 85 spec = self.machinery.ModuleSpec('test', object()) 91 spec = self.machinery.ModuleSpec('test', loader) 96 spec = self.machinery.ModuleSpec('test.pkg', object()) 101 spec = self.machinery.ModuleSpec('test', object(), is_package=True) 106 spec = self.machinery.ModuleSpec('test', object(), origin='some/path') 112 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 | 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/test/test_importlib/resources/ |
| D | util.py | 14 from importlib.machinery import ModuleSpec 57 spec = ModuleSpec(name, loader, origin='does-not-exist', is_package=is_package)
|
| /third_party/python/Lib/importlib/ |
| D | machinery.py | 3 from ._bootstrap import ModuleSpec
|
| D | _bootstrap_external.py | 815 spec = _bootstrap.ModuleSpec(name, loader, origin=location) 1460 spec = _bootstrap.ModuleSpec(fullname, None) 1492 spec = _bootstrap.ModuleSpec(fullname, None) 1650 spec = _bootstrap.ModuleSpec(fullname, None)
|
| D | _bootstrap.py | 320 class ModuleSpec: class 448 return ModuleSpec(name, loader, origin=origin, is_package=is_package) 486 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 | importlib.rst | 76 A ModuleSpec Type for the Import System 229 a :class:`~importlib.machinery.ModuleSpec`. 1127 .. class:: ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None) 1406 A factory function for creating a :class:`~importlib.machinery.ModuleSpec` 1408 for ModuleSpec. The function uses available :term:`loader` APIs, such as 1416 A factory function for creating a :class:`~importlib.machinery.ModuleSpec`
|
| D | runpy.rst | 174 :pep:`451` -- A ModuleSpec Type for the Import System
|
| D | pkgutil.rst | 85 :class:`importlib.machinery.ModuleSpec`.
|
| /third_party/python/Lib/ |
| D | imp.py | 341 spec = importlib.machinery.ModuleSpec(
|
| D | zipimport.py | 182 spec = _bootstrap.ModuleSpec(name=fullname, loader=None,
|
| /third_party/python/Lib/test/test_importlib/frozen/ |
| D | test_loader.py | 46 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 | 1093 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 | 232 module.__spec__ = self.machinery.ModuleSpec('bad name', loader)
|
| /third_party/python/Doc/reference/ |
| D | import.rst | 528 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
|
| /third_party/python/Doc/ |
| D | glossary.rst | 810 module. An instance of :class:`importlib.machinery.ModuleSpec`.
|
12