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.
B
Brett Cannon committed
bc2eff31128e9d6b2e0c5ce788acf1633bcc0ccb
Parent: e1f2f30