| commit | 2c318a1390e1a84c78d6f0cacaee1d21cc459234 | [log] [tgz] |
|---|---|---|
| author | Brett Cannon <bcannon@gmail.com> | Sat Feb 07 01:15:27 2009 +0000 |
| committer | Brett Cannon <bcannon@gmail.com> | Sat Feb 07 01:15:27 2009 +0000 |
| tree | 97f2579de870e21766febabe4acaaf53b8cd9eb9 | |
| parent | 887b3f2625404f3835d47a63ae7e0ac4ee638cb6 [diff] |
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).