diff options
author | Brett Cannon <bcannon@gmail.com> | 2010-09-19 21:39:02 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2010-09-19 21:39:02 (GMT) |
commit | bc2eff31128e9d6b2e0c5ce788acf1633bcc0ccb (patch) | |
tree | 50bef6ee339b02fca37d59524373b7a28003a98a /Lib | |
parent | e1f2f30328cd4fb0cdd77dea3f53b722d5a9a38d (diff) | |
download | cpython-bc2eff31128e9d6b2e0c5ce788acf1633bcc0ccb.zip cpython-bc2eff31128e9d6b2e0c5ce788acf1633bcc0ccb.tar.gz cpython-bc2eff31128e9d6b2e0c5ce788acf1633bcc0ccb.tar.bz2 |
PyImport_Import was using the old import hack of sticking a dummy value into
fromlist to get __import__ to return the module desired. Now it uses the proper
approach of fetching the module from sys.modules.
Closes issue #9252. Thanks to Alexander Belopolsky for the bug report.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions