[New-bugs-announce] [issue15767] add ModuleNotFoundError
Eric Snow
report at bugs.python.org
Wed Aug 22 21:45:18 CEST 2012
New submission from Eric Snow:
In issue 15316 (msg168896, Brett Cannon):
Create a ModuleNotFoundError exception that subclasses ImportError
and catch that (breaks doctests and introduces a new exception that
people will need to be aware of, plus the question of whether it
should just exist in importlib or be a builtin)
While it's too late to go into 3.3, this is a reasonable addition for 3.4. Perhaps other ImportError subclasses are warranted, but they can be addressed separately.
----------
components: Interpreter Core
messages: 168906
nosy: brett.cannon, eric.snow
priority: normal
severity: normal
stage: needs patch
status: open
title: add ModuleNotFoundError
type: enhancement
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15767>
_______________________________________
More information about the New-bugs-announce
mailing list