Searched refs:ModuleSpec (Results 1 – 24 of 24) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 49 spec = self.machinery.ModuleSpec('test', Loader()) 57 spec = self.machinery.ModuleSpec('test', Loader()) 71 spec = self.machinery.ModuleSpec('test', Loader()) 77 spec = self.machinery.ModuleSpec('test', object()) 82 spec = self.machinery.ModuleSpec('test', object()) 88 spec = self.machinery.ModuleSpec('test', loader) 93 spec = self.machinery.ModuleSpec('test.pkg', object()) 98 spec = self.machinery.ModuleSpec('test', object(), is_package=True) 103 spec = self.machinery.ModuleSpec('test', object(), origin='some/path') 109 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 | 177 return machinery['Source'].ModuleSpec(name, (name, path))
|
D | test_abc.py | 370 spec = self.machinery.ModuleSpec('blah', None)
|
/external/python/cpython3/Lib/importlib/ |
D | machinery.py | 5 from ._bootstrap import ModuleSpec
|
D | _bootstrap_external.py | 556 spec = _bootstrap.ModuleSpec(name, loader, origin=location) 1113 spec = _bootstrap.ModuleSpec(fullname, None) 1145 spec = _bootstrap.ModuleSpec(fullname, None) 1276 spec = _bootstrap.ModuleSpec(fullname, None)
|
D | _bootstrap.py | 318 class ModuleSpec: class 442 return ModuleSpec(name, loader, origin=origin, is_package=is_package) 486 spec = ModuleSpec(name, loader, origin=origin)
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test___loader__.py | 12 return machinery.ModuleSpec(fullname, self)
|
D | test_api.py | 16 spec = machinery.ModuleSpec(fullname, cls)
|
D | test_path.py | 160 success_finder.spec = self.machinery.ModuleSpec('whatever', __loader__)
|
/external/python/cpython3/Lib/ |
D | imp.py | 340 spec = importlib.machinery.ModuleSpec(
|
/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 16 spec = self.machinery.ModuleSpec(
|
/external/python/cpython3/Doc/c-api/ |
D | module.rst | 305 The function receives a :py:class:`~importlib.machinery.ModuleSpec` 355 ModuleSpec *spec*. This behaves like :c:func:`PyModule_FromDefAndSpec2` 363 ModuleSpec *spec*, assuming the API version *module_api_version*.
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 889 self.assertIs(machinery.ModuleSpec, mod.ModuleSpec)
|
/external/python/cpython3/Doc/library/ |
D | runpy.rst | 174 :pep:`451` -- A ModuleSpec Type for the Import System
|
D | importlib.rst | 62 A ModuleSpec Type for the Import System 1046 .. class:: ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None) 1294 A factory function for creating a :class:`ModuleSpec` instance based 1296 ModuleSpec. The function uses available :term:`loader` APIs, such as 1304 A factory function for creating a :class:`ModuleSpec` instance based
|
D | pkgutil.rst | 85 :class:`ModuleSpec`.
|
D | sys.rst | 827 :class:`importlib.machinery.ModuleSpec`
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 230 module.__spec__ = self.machinery.ModuleSpec('bad name', loader)
|
/external/python/cpython3/Lib/test/ |
D | test_runpy.py | 161 mod_spec = importlib.machinery.ModuleSpec(mod_name,
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 668 module. An instance of :class:`importlib.machinery.ModuleSpec`.
|
/external/python/cpython3/Doc/reference/ |
D | import.rst | 522 See :class:`~importlib.machinery.ModuleSpec` for more specifics on what
|
/external/python/cpython3/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
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3085 - Issue #18864: Added a setter for ModuleSpec.has_location.
|