Commit fe1941eb authored by Brett Cannon's avatar Brett Cannon

Merge w/ 3.5

parents e5f4d3c2 27c712e1
...@@ -1281,7 +1281,8 @@ an :term:`importer`. ...@@ -1281,7 +1281,8 @@ an :term:`importer`.
:meth:`~importlib.abc.Loader.exec_module` as control over what module type :meth:`~importlib.abc.Loader.exec_module` as control over what module type
is used for the module is required. For those same reasons, the loader's is used for the module is required. For those same reasons, the loader's
:meth:`~importlib.abc.Loader.create_module` method will be ignored (i.e., the :meth:`~importlib.abc.Loader.create_module` method will be ignored (i.e., the
loader's method should only return ``None``). Finally, loader's method should only return ``None``; this excludes
:class:`BuiltinImporter` and :class:`ExtensionFileLoader`). Finally,
modules which substitute the object placed into :attr:`sys.modules` will modules which substitute the object placed into :attr:`sys.modules` will
not work as there is no way to properly replace the module references not work as there is no way to properly replace the module references
throughout the interpreter safely; :exc:`ValueError` is raised if such a throughout the interpreter safely; :exc:`ValueError` is raised if such a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment