summaryrefslogtreecommitdiffstats
path: root/.bzrignore
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-15 19:24:04 (GMT)
committerBrett Cannon <brett@python.org>2012-04-15 19:24:04 (GMT)
commit881535b726c595582920acc69f26b053e32b85b0 (patch)
treeca3bcfcff049f02a4dc5e1187b0a9e5d1beb489d /.bzrignore
parent27fc52877ce3cabb2ed524ab0f40f8c8e3a45c18 (diff)
downloadcpython-881535b726c595582920acc69f26b053e32b85b0.zip
cpython-881535b726c595582920acc69f26b053e32b85b0.tar.gz
cpython-881535b726c595582920acc69f26b053e32b85b0.tar.bz2
Issue #14582: Import returns the module returned by a loader instead
of sys.modules when possible. This is being done for two reasons. One is to gain a little bit of performance by skipping an unnecessary dict lookup in sys.modules. But the other (and main) reason is to be a little bit more clear in how things should work from the perspective of import's interactions with loaders. Otherwise loaders can easily forget to return the module even though PEP 302 explicitly states they are expected to return the module they loaded.
Diffstat (limited to '.bzrignore')
0 files changed, 0 insertions, 0 deletions