diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-15 19:45:53 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-15 19:45:53 +0200 |
commit | ed36c06f1dbc8888d94491d3c2e83aa296e9b33a (patch) | |
tree | 7566a528fcc1b10c04bfb2a184826695510aff58 /Python/pythonrun.c | |
parent | 503e5e12c27bf130d388e09fe770d16d9b486821 (diff) | |
download | cpython-git-ed36c06f1dbc8888d94491d3c2e83aa296e9b33a.tar.gz |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions