Lines Matching full:loaders
205 .. _finders-and-loaders:
207 Finders and loaders
217 two conceptual objects, :term:`finders <finder>` and :term:`loaders <loader>`.
237 The following sections describe the protocol for finders and loaders in more
242 In previous versions of Python, finders returned :term:`loaders <loader>`
243 directly, whereas now they return module specs which *contain* loaders.
244 Loaders are still used during import but have fewer responsibilities.
405 loaders. These were previously performed by the
408 Loaders section in Loading
411 Module loaders provide the critical function of loading: module execution.
416 Loaders must satisfy the following requirements:
430 Module loaders may opt in to creating the module object during loading
438 The :meth:`~importlib.abc.Loader.create_module` method of loaders.
445 For compatibility with existing loaders, the import machinery will use
446 the ``load_module()`` method of loaders if it exists and the loader does
448 deprecated and loaders should implement ``exec_module()`` instead.
1048 loaders back onto the import machinery. These changes allow the
1050 methods to finders and loaders.