[issue15767] add ModuleNotFoundError

Guido van Rossum report at bugs.python.org
Mon Jul 1 19:43:18 CEST 2013


Guido van Rossum added the comment:

Ok, the history of all that makes sense, except now I wonder if ModuleNotFoundError is useful at all.  I just reviewed a patch for 3.4 and in the latest revision all ImportError checks were replaced with ModuleNotFoundError checks.  What purpose does that have except encouraging code churn?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15767>
_______________________________________


More information about the Python-bugs-list mailing list