New submission from Brett Cannon <br...@python.org>: Right now importlib doesn't use what loader.load_module() returns as that was what import.c did. But PEP 302 explicitly states that load_module() is expected to return the module that was loaded. So to save a dict lookup I want to rely on the return value of load_module().
---------- assignee: brett.cannon components: Interpreter Core messages: 158280 nosy: brett.cannon priority: low severity: normal stage: test needed status: open title: Have importlib use return value from a loader's load_module() type: performance versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14582> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com