/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_loader.py | 14 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/ |
D | test_file_loader.py | 152 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 …]
|
D | test_source_encoding.py | 96 loader.exec_module(module) 152 loader.exec_module(module)
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_lazy.py | 17 def exec_module(self, module): member in CollectInit 50 def exec_module(self, module): member in TestingImporter 73 spec.loader.exec_module(module)
|
D | test_spec.py | 46 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
|
D | util.py | 286 def exec_module(self, module): member in mock_spec
|
D | test_util.py | 48 def exec_module(self, module): member in ModuleFromSpecTests.test_no_create_module.Loader
|
D | test_abc.py | 437 def exec_module(self, module): member in LoaderLoadModuleTests.loader.SpecLoader
|
/external/python/cpython3/Lib/importlib/ |
D | abc.py | 246 exec_module = _bootstrap_external._LoaderBasics.exec_module variable in InspectLoader
|
D | util.py | 245 self.__spec__.loader.exec_module(self) 288 def exec_module(self, module): member in LazyLoader
|
D | _bootstrap.py | 630 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.py | 722 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/ |
D | importlib.rst | 389 :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_/ |
D | test___loader__.py | 17 def exec_module(self, module): member in SpecLoaderMock
|
D | test_api.py | 24 def exec_module(module): member in BadSpecFinderLoader
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 1177 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/ |
D | import.rst | 340 # 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/ |
D | test_loader.py | 170 loader.exec_module(module)
|
/external/python/cpython3/Lib/test/ |
D | test_pkgutil.py | 196 def exec_module(self, mod): member in PkgutilPEP302Tests.MyTestLoader
|
/external/python/cpython3/Doc/c-api/ |
D | module.rst | 343 .. c:function:: int exec_module(PyObject* module)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 2094 ``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
|
D | 3.6.rst | 2010 :meth:`importlib.abc.Loader.exec_module`. 2154 * When :meth:`importlib.abc.Loader.exec_module` is defined,
|
D | 3.5.rst | 2442 * When an import loader defines :meth:`importlib.machinery.Loader.exec_module`
|
/external/python/cpython3/Misc/ |
D | HISTORY | 3082 - Issue #19698: Removed exec_module() methods from
|