Home
last modified time | relevance | path

Searched refs:ModuleSpec (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_util.py51 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 …]
Dtest_spec.py72 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 …]
Dutil.py450 spec = machinery.ModuleSpec(
Dtest_api.py177 return machinery['Source'].ModuleSpec(name, (name, path))
Dtest_abc.py415 spec = self.machinery.ModuleSpec('blah', None)
/external/python/cpython3/Lib/importlib/
Dmachinery.py5 from ._bootstrap import ModuleSpec
D_bootstrap_external.py661 spec = _bootstrap.ModuleSpec(name, loader, origin=location)
1298 spec = _bootstrap.ModuleSpec(fullname, None)
1330 spec = _bootstrap.ModuleSpec(fullname, None)
1474 spec = _bootstrap.ModuleSpec(fullname, None)
D_bootstrap.py305 class ModuleSpec: class
429 return ModuleSpec(name, loader, origin=origin, is_package=is_package)
470 spec = ModuleSpec(name, loader, origin=origin)
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest___loader__.py12 return machinery.ModuleSpec(fullname, self)
Dtest_api.py16 spec = machinery.ModuleSpec(fullname, cls)
Dtest_path.py160 success_finder.spec = self.machinery.ModuleSpec('whatever', __loader__)
/external/python/cpython3/Lib/
Dimp.py340 spec = importlib.machinery.ModuleSpec(
/external/python/cpython3/Lib/test/test_importlib/frozen/
Dtest_loader.py16 spec = self.machinery.ModuleSpec(
/external/python/cpython3/Doc/c-api/
Dmodule.rst311 The function receives a :py:class:`~importlib.machinery.ModuleSpec`
361 ModuleSpec *spec*. This behaves like :c:func:`PyModule_FromDefAndSpec2`
369 ModuleSpec *spec*, assuming the API version *module_api_version*.
/external/python/cpython3/Doc/library/
Drunpy.rst174 :pep:`451` -- A ModuleSpec Type for the Import System
Dimportlib.rst62 A ModuleSpec Type for the Import System
211 a :class:`ModuleSpec`.
1285 .. class:: ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None)
1546 A factory function for creating a :class:`ModuleSpec` instance based
1548 ModuleSpec. The function uses available :term:`loader` APIs, such as
1556 A factory function for creating a :class:`ModuleSpec` instance based
Dpkgutil.rst85 :class:`ModuleSpec`.
Dsys.rst1018 :class:`importlib.machinery.ModuleSpec`
/external/python/cpython3/Lib/test/test_import/
D__init__.py1063 self.assertIs(machinery.ModuleSpec, mod.ModuleSpec)
/external/python/cpython3/Lib/test/
Dtest_runpy.py160 mod_spec = importlib.machinery.ModuleSpec(mod_name,
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_file_loader.py233 module.__spec__ = self.machinery.ModuleSpec('bad name', loader)
/external/python/cpython3/Doc/
Dglossary.rst732 module. An instance of :class:`importlib.machinery.ModuleSpec`.
/external/python/cpython3/Doc/reference/
Dimport.rst521 See :class:`~importlib.machinery.ModuleSpec` for details on the contents of
/external/python/cpython3/Doc/whatsnew/
D3.4.rst93 * :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/
DHISTORY3085 - Issue #18864: Added a setter for ModuleSpec.has_location.