Mercurial > cpython-lru_cache-weakref
diff Python/thread.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 | f75fd74a0c13 |
| children | ffc6e6b00949 |
