diff Python/makeopcodetargets.py @ 78051:dc18a2a66d16

Issue #15111: When a module was imported using a 'from import' statement (e.g. ``from distutils import msvc9compiler``) that triggers an ImportError of its own (e.g. the non-existence of winreg), let that exception propagate instead of raising a generic ImportError for the module being requested (e.g. msvc9compiler).
author Brett Cannon <brett@python.org>
date Tue, 10 Jul 2012 10:05:00 -0400
parents d30b54ffd5e8
children
line wrap: on
line diff