Rewrite the code implementing __import__ for importlib. Now it is much simpler
and relies much more on meta path finders to abstract out various parts of import. As part of this the semantics for import_module tightened up and now follow __import__ much more closely (biggest thing is that the 'package' argument must now already be imported, else a SystemError is raised).
B
Brett Cannon committed
2c318a1390e1a84c78d6f0cacaee1d21cc459234
Parent: 887b3f2