/third_party/python/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')
|
/third_party/python/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)
|
/third_party/python/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 | 299 def exec_module(self, module): member in mock_spec
|
D | test_util.py | 49 def exec_module(self, module): member in ModuleFromSpecTests.test_no_create_module.Loader
|
/third_party/python/Lib/importlib/ |
D | util.py | 247 self.__spec__.loader.exec_module(self) 290 def exec_module(self, module): member in LazyLoader
|
D | abc.py | 213 exec_module = _bootstrap_external._LoaderBasics.exec_module variable in InspectLoader
|
D | _bootstrap.py | 619 spec.loader.exec_module(module) 688 spec.loader.exec_module(module) 779 def exec_module(module): member in BuiltinImporter 850 def exec_module(module): member in FrozenImporter
|
D | _bootstrap_external.py | 877 def exec_module(self, module): member in _LoaderBasics 1182 def exec_module(self, module): member in ExtensionFileLoader 1298 def exec_module(self, module): member in _NamespaceLoader
|
/third_party/python/Doc/library/ |
D | importlib.rst | 402 :meth:`exec_module` is defined. 404 .. method:: exec_module(module) 408 be initialized when ``exec_module()`` is called. When this method exists, 462 When :meth:`exec_module` is available then backwards-compatible 468 :meth:`exec_module` is available. 471 The recommended API for loading a module is :meth:`exec_module` 474 all the other responsibilities of load_module() when exec_module() 649 .. method:: exec_module(module) 651 Implementation of :meth:`Loader.exec_module`. 660 use :meth:`exec_module` instead. [all …]
|
D | zipimport.rst | 85 .. method:: exec_module(module) 87 Implementation of :meth:`importlib.abc.Loader.exec_module`. 167 Use :meth:`exec_module` instead.
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test___loader__.py | 18 def exec_module(self, module): member in SpecLoaderMock
|
D | test_api.py | 25 def exec_module(module): member in BadSpecFinderLoader
|
/third_party/python/Lib/test/ |
D | test_zipimport.py | 478 spec.loader.exec_module(exec_mod) 483 spec.loader.exec_module(mod) 580 spec.loader.exec_module(mod) 605 spec.loader.exec_module(load_mod) 742 spec.loader.exec_module(mod) 838 self.assertRaises(TypeError, z.exec_module, None)
|
D | test_asdl_parser.py | 32 loader.exec_module(module)
|
D | test_pkgutil.py | 288 def exec_module(self, mod): member in PkgutilPEP302Tests.MyTestLoader
|
D | test_capi.py | 976 loader.exec_module(module)
|
/third_party/python/Tools/peg_generator/pegen/ |
D | testutil.py | 74 loader.exec_module(mod)
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 1254 old_exec_module = importlib.SourceLoader.exec_module 1258 def exec_module(*args): function 1260 importlib.SourceLoader.exec_module = exec_module 1270 del importlib.SourceLoader.exec_module 1272 importlib.SourceLoader.exec_module = old_exec_module
|
/third_party/python/Doc/reference/ |
D | import.rst | 346 # It is assumed 'exec_module' will also be defined on the loader. 359 elif not hasattr(spec.loader, 'exec_module'): 365 spec.loader.exec_module(module) 400 * The module created during loading and passed to exec_module() may 412 The import machinery calls the :meth:`importlib.abc.Loader.exec_module` 414 returned from :meth:`~importlib.abc.Loader.exec_module` is ignored. 424 :meth:`~importlib.abc.Loader.exec_module` will be propagated. 442 :meth:`~importlib.abc.Loader.exec_module` and the import 447 not also implement ``exec_module()``. However, ``load_module()`` has been 448 deprecated and loaders should implement ``exec_module()`` instead. [all …]
|
/third_party/python/Lib/test/test_importlib/extension/ |
D | test_loader.py | 114 loader.exec_module(module)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a3.rst | 406 Deprecate zipimport.zipimporter.load_module() in favour of exec_module(). 626 create_module(), and exec_module().
|
/third_party/python/Doc/whatsnew/ |
D | 3.10.rst | 1504 :meth:`zipimport.zipimporter.exec_module`. 1591 (superseded by :meth:`~importlib.abc.Loader.exec_module`), 1613 :meth:`~importlib.abc.Loader.exec_module` instead. 1617 preference for :meth:`~zipimport.zipimporter.exec_module`. 1622 :meth:`~importlib.abc.Loader.exec_module` is preferred.
|