diff options
author | Brett Cannon <brett@python.org> | 2012-10-10 23:03:46 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-10-10 23:03:46 (GMT) |
commit | a6ce4fd426cb9df0e4816a627c79aff0fc6ecf63 (patch) | |
tree | 09d85350d6408bf0422af543458737067e40e736 /Misc | |
parent | 3fa8c59024418e904abd4394b5ec47642f076ae3 (diff) | |
download | cpython-a6ce4fd426cb9df0e4816a627c79aff0fc6ecf63.zip cpython-a6ce4fd426cb9df0e4816a627c79aff0fc6ecf63.tar.gz cpython-a6ce4fd426cb9df0e4816a627c79aff0fc6ecf63.tar.bz2 |
Closes issue #15111: Calling __import__ with a module specified in
fromlist which causes its own ImportError (e.g. the module tries to
import a non-existent module) should have that exception propagate.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ Core and Builtins - Issue #15801: Make sure mappings passed to '%' formatting are actually subscriptable. +- Issue #15111: __import__ should let ImportError propagate when a module that + is imported as a side-effect of using fromlist tries to import a module + that cannot be found. + Library ------- |