diff options
author | Brett Cannon <brett@python.org> | 2012-04-02 20:33:56 -0400 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-02 20:33:56 -0400 |
commit | 927d87470a0b6f7b0ca3f3a1b39fd3bdc0ec919a (patch) | |
tree | 14751257ed51a52e66dd9dcf85eb17ffb2fc77cf /Python/Python-ast.c | |
parent | 368b4b74050290a77f32cafa8c7fac3542bc6308 (diff) | |
download | cpython-git-927d87470a0b6f7b0ca3f3a1b39fd3bdc0ec919a.tar.gz |
If a module injects something into sys.modules as a side-effect of
importation, then respect that injection.
Discovered thanks to Lib/xml/parsers/expat.py injecting
xml.parsers.expat.errors and etree now importing that directly as a
module.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions