Mercurial > cpython-lru_cache-weakref
diff Python/modsupport.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 | 2d6d75eaf98c |
| children | 204d9391889a |
