commit | bc2eff31128e9d6b2e0c5ce788acf1633bcc0ccb | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sun Sep 19 21:39:02 2010 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sun Sep 19 21:39:02 2010 +0000 |
tree | 50bef6ee339b02fca37d59524373b7a28003a98a | |
parent | e1f2f30328cd4fb0cdd77dea3f53b722d5a9a38d [diff] |
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.