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 <rep...@bugs.python.org> <http://bugs.python.org/issue18200> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com