commit | 927d87470a0b6f7b0ca3f3a1b39fd3bdc0ec919a | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Mon Apr 02 20:33:56 2012 -0400 |
committer | Brett Cannon <brett@python.org> | Mon Apr 02 20:33:56 2012 -0400 |
tree | 14751257ed51a52e66dd9dcf85eb17ffb2fc77cf | |
parent | 368b4b74050290a77f32cafa8c7fac3542bc6308 [diff] |
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.