diff Python/codecs.c @ 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 1439e2d1f490
children fd41c6b4de57
line wrap: on
line diff