comparison Python/traceback.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 7b8d625eb6e4
children 8beaa9a37387
comparison
equal deleted inserted replaced
72384:c6d52971dd2a 72386:3ff9a2d5f5e5