diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-15 17:28:05 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-15 17:28:05 (GMT) |
commit | 1619132e5dba825cdfae200cf619470129116c3d (patch) | |
tree | c72deb24984c0ee226087233d5f57c1efadb4487 /Python/dup2.c | |
parent | 79746426c439a8a163d95381ffffa1b2fd34348e (diff) | |
download | cpython-1619132e5dba825cdfae200cf619470129116c3d.zip cpython-1619132e5dba825cdfae200cf619470129116c3d.tar.gz cpython-1619132e5dba825cdfae200cf619470129116c3d.tar.bz2 |
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/dup2.c')
0 files changed, 0 insertions, 0 deletions