summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-09-19 21:39:02 +0000
committerBrett Cannon <bcannon@gmail.com>2010-09-19 21:39:02 +0000
commite408ad2617086fcfe3c843bfa177bc51cb8c7445 (patch)
tree64da5ae3eb7d3fccc4095ad9b7f38f66aae9f01d /Python/pythonrun.c
parent5afbe0ba2f12eff8b96c93ef554c2256114cb25f (diff)
downloadcpython-e408ad2617086fcfe3c843bfa177bc51cb8c7445.tar.gz
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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions