[issue14582] Have importlib use return value from a loader's load_module()

Brett Cannon report at bugs.python.org
Sat Apr 14 22:31:41 CEST 2012


New submission from Brett Cannon <brett at 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 <report at bugs.python.org>
<http://bugs.python.org/issue14582>
_______________________________________


More information about the Python-bugs-list mailing list