Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 72386:3ff9a2d5f5e5
Merge 3.2: Fix the import machinery if there is an error on sys.path or sys.meta_path
find_module() now raises a RuntimeError, instead of ImportError, on an error on
sys.path or sys.meta_path because load_package() and import_submodule() returns
None and clear the exception if a ImportError occurred.
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Thu, 15 Sep 2011 19:38:54 +0200 |
| parents | 2b21fcf3d9a9 |
| children | 606652491366 |
