summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-09-15 17:45:53 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-09-15 17:45:53 (GMT)
commited36c06f1dbc8888d94491d3c2e83aa296e9b33a (patch)
tree7566a528fcc1b10c04bfb2a184826695510aff58 /README
parent503e5e12c27bf130d388e09fe770d16d9b486821 (diff)
downloadcpython-ed36c06f1dbc8888d94491d3c2e83aa296e9b33a.zip
cpython-ed36c06f1dbc8888d94491d3c2e83aa296e9b33a.tar.gz
cpython-ed36c06f1dbc8888d94491d3c2e83aa296e9b33a.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 'README')
0 files changed, 0 insertions, 0 deletions