Home
last modified time | relevance | path

Searched refs:exec_module (Results 1 – 24 of 24) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/frozen/
Dtest_loader.py14 def exec_module(self, name): member in ExecModuleTests
22 self.machinery.FrozenImporter.exec_module(module)
30 module, output = self.exec_module(name)
39 module, output = self.exec_module(name)
52 module, output = self.exec_module(name)
64 module, output = self.exec_module(name)
73 module, output = self.exec_module(name)
83 self.exec_module('_not_real')
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_file_loader.py152 loader.exec_module(orig_module)
216 loader.exec_module(module)
235 loader.exec_module(module)
256 loader.exec_module(mod)
262 loader.exec_module(mod)
288 loader.exec_module(mod)
294 loader.exec_module(mod)
312 loader.exec_module(mod)
317 loader.exec_module(mod)
343 loader.exec_module(mod)
[all …]
Dtest_source_encoding.py96 loader.exec_module(module)
152 loader.exec_module(module)
/external/python/cpython3/Lib/test/test_importlib/
Dtest_lazy.py17 def exec_module(self, module): member in CollectInit
50 def exec_module(self, module): member in TestingImporter
73 spec.loader.exec_module(module)
Dtest_spec.py46 def exec_module(self, module): member in NewLoader
274 def exec_module(self, module): member in ModuleSpecMethodsTests.test_load_replaced.ReplacingLoader
286 def exec_module(self, module): member in ModuleSpecMethodsTests.test_load_failed.FailedLoader
296 def exec_module(self, module): member in ModuleSpecMethodsTests.test_load_failed_removed.FailedLoader
Dutil.py286 def exec_module(self, module): member in mock_spec
Dtest_util.py48 def exec_module(self, module): member in ModuleFromSpecTests.test_no_create_module.Loader
Dtest_abc.py437 def exec_module(self, module): member in LoaderLoadModuleTests.loader.SpecLoader
/external/python/cpython3/Lib/importlib/
Dabc.py246 exec_module = _bootstrap_external._LoaderBasics.exec_module variable in InspectLoader
Dutil.py245 self.__spec__.loader.exec_module(self)
288 def exec_module(self, module): member in LazyLoader
D_bootstrap.py630 spec.loader.exec_module(module)
677 spec.loader.exec_module(module)
749 def exec_module(self, module): member in BuiltinImporter
813 def exec_module(module): member in FrozenImporter
D_bootstrap_external.py722 def exec_module(self, module): member in _LoaderBasics
1048 def exec_module(self, module): member in ExtensionFileLoader
1159 def exec_module(self, module): member in _NamespaceLoader
/external/python/cpython3/Doc/library/
Dimportlib.rst389 :meth:`exec_module` is defined.
391 .. method:: exec_module(module)
395 be initialized when ``exec_module()`` is called. When this method exists,
448 When :meth:`exec_module` is available then backwards-compatible
454 :meth:`exec_module` is available.
457 The recommended API for loading a module is :meth:`exec_module`
460 all the other responsibilities of load_module() when exec_module()
633 .. method:: exec_module(module)
635 Implementation of :meth:`Loader.exec_module`.
644 use :meth:`exec_module` instead.
[all …]
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest___loader__.py17 def exec_module(self, module): member in SpecLoaderMock
Dtest_api.py24 def exec_module(module): member in BadSpecFinderLoader
/external/python/cpython3/Lib/test/test_import/
D__init__.py1177 old_exec_module = importlib.SourceLoader.exec_module
1181 def exec_module(*args): function
1183 importlib.SourceLoader.exec_module = exec_module
1193 del importlib.SourceLoader.exec_module
1195 importlib.SourceLoader.exec_module = old_exec_module
/external/python/cpython3/Doc/reference/
Dimport.rst340 # It is assumed 'exec_module' will also be defined on the loader.
354 elif not hasattr(spec.loader, 'exec_module'):
360 spec.loader.exec_module(module)
395 * The module created during loading and passed to exec_module() may
407 The import machinery calls the :meth:`importlib.abc.Loader.exec_module`
409 returned from :meth:`~importlib.abc.Loader.exec_module` is ignored.
419 :meth:`~importlib.abc.Loader.exec_module` will be propagated.
437 :meth:`~importlib.abc.Loader.exec_module` and the import
442 not also implement ``exec_module()``. However, ``load_module()`` has been
443 deprecated and loaders should implement ``exec_module()`` instead.
[all …]
/external/python/cpython3/Lib/test/test_importlib/extension/
Dtest_loader.py170 loader.exec_module(module)
/external/python/cpython3/Lib/test/
Dtest_pkgutil.py196 def exec_module(self, mod): member in PkgutilPEP302Tests.MyTestLoader
/external/python/cpython3/Doc/c-api/
Dmodule.rst343 .. c:function:: int exec_module(PyObject* module)
/external/python/cpython3/Doc/whatsnew/
D3.4.rst2094 ``exec_module`` method
2095 (:meth:`importlib.abc.Loader.exec_module`,
2096 :meth:`importlib.abc.InspectLoader.exec_module`
2097 :meth:`importlib.abc.SourceLoader.exec_module`) and let the import system
D3.6.rst2010 :meth:`importlib.abc.Loader.exec_module`.
2154 * When :meth:`importlib.abc.Loader.exec_module` is defined,
D3.5.rst2442 * When an import loader defines :meth:`importlib.machinery.Loader.exec_module`
/external/python/cpython3/Misc/
DHISTORY3082 - Issue #19698: Removed exec_module() methods from