Home
last modified time | relevance | path

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

12

/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/
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.py297 def exec_module(self, module): member in mock_spec
/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/importlib/
Dabc.py247 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.py613 spec.loader.exec_module(module)
680 spec.loader.exec_module(module)
766 def exec_module(self, module): member in BuiltinImporter
832 def exec_module(module): member in FrozenImporter
D_bootstrap_external.py784 def exec_module(self, module): member in _LoaderBasics
1114 def exec_module(self, module): member in ExtensionFileLoader
1228 def exec_module(self, module): member in _NamespaceLoader
/external/tensorflow/tensorflow/python/autograph/pyct/
Dloader.py63 spec.loader.exec_module(module)
/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/Doc/library/
Dimportlib.rst392 :meth:`exec_module` is defined.
394 .. method:: exec_module(module)
398 be initialized when ``exec_module()`` is called. When this method exists,
452 When :meth:`exec_module` is available then backwards-compatible
458 :meth:`exec_module` is available.
461 The recommended API for loading a module is :meth:`exec_module`
464 all the other responsibilities of load_module() when exec_module()
639 .. method:: exec_module(module)
641 Implementation of :meth:`Loader.exec_module`.
650 use :meth:`exec_module` instead.
[all …]
/external/python/cpython3/Lib/test/test_import/
D__init__.py1252 old_exec_module = importlib.SourceLoader.exec_module
1256 def exec_module(*args): function
1258 importlib.SourceLoader.exec_module = exec_module
1268 del importlib.SourceLoader.exec_module
1270 importlib.SourceLoader.exec_module = old_exec_module
/external/python/cpython3/Tools/peg_generator/pegen/
Dtestutil.py74 loader.exec_module(mod)
/external/tensorflow/tensorflow/python/tpu/
Dtpu_test_wrapper_test.py208 spec.loader.exec_module(test_module)
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpcio_tools/grpc_tools/
Dprotoc.py119 def exec_module(self, module): member in ProtoLoader
/external/rust/crates/grpcio-sys/grpc/tools/buildgen/
Dmako_renderer.py41 spec.loader.exec_module(module)
/external/python/cpython3/Doc/reference/
Dimport.rst342 # It is assumed 'exec_module' will also be defined on the loader.
355 elif not hasattr(spec.loader, 'exec_module'):
361 spec.loader.exec_module(module)
396 * The module created during loading and passed to exec_module() may
408 The import machinery calls the :meth:`importlib.abc.Loader.exec_module`
410 returned from :meth:`~importlib.abc.Loader.exec_module` is ignored.
420 :meth:`~importlib.abc.Loader.exec_module` will be propagated.
438 :meth:`~importlib.abc.Loader.exec_module` and the import
443 not also implement ``exec_module()``. However, ``load_module()`` has been
444 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/pigweed/pw_protobuf_compiler/py/pw_protobuf_compiler/
Dpython_protos.py71 spec.loader.exec_module(module) # type: ignore[union-attr]
/external/python/jinja/tests/
Dtest_loader.py372 def exec_module(self, module): member in test_pep_451_import_hook.ImportHook
/external/python/cpython3/Lib/test/
Dtest_pkgutil.py287 def exec_module(self, mod): member in PkgutilPEP302Tests.MyTestLoader
Dtest_capi.py829 loader.exec_module(module)

12