diff Python/random.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 198e31774f0f
children 6a782496f90a a53fc9982e2a
line wrap: on
line diff