Mercurial > cpython-lru_cache-weakref
diff Python/errors.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 | 9fdec1354af4 |
| children | a281604a5c9a |
