Mercurial > cpython-lru_cache-weakref
comparison Python/dynamic_annotations.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 | 4fd3ab5fa71d |
| children |
comparison
equal
deleted
inserted
replaced
| 72384:c6d52971dd2a | 72386:3ff9a2d5f5e5 |
|---|
