summaryrefslogtreecommitdiffstats
path: root/Lib/fileinput.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-09-19 21:39:02 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-09-19 21:39:02 (GMT)
commitbc2eff31128e9d6b2e0c5ce788acf1633bcc0ccb (patch)
tree50bef6ee339b02fca37d59524373b7a28003a98a /Lib/fileinput.py
parente1f2f30328cd4fb0cdd77dea3f53b722d5a9a38d (diff)
downloadcpython-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/fileinput.py')
0 files changed, 0 insertions, 0 deletions