[issue18200] Update stdlib to use ModuleNotFoundError
Brett Cannon
report at bugs.python.org
Wed Jun 12 23:01:48 CEST 2013
New submission from Brett Cannon:
The common idiom::
try:
import something
except ImportError:
pass
should be updated to use ModuleNotFoundError instead to not accidentally swallow ImportError exceptions which signal actual errors.
----------
components: Library (Lib)
keywords: easy
messages: 191047
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: Update stdlib to use ModuleNotFoundError
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18200>
_______________________________________
More information about the Python-bugs-list
mailing list