diff Python/structmember.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 3c9232a684ae
children afe55cd04119
line wrap: on
line diff