[issue29851] Have importlib.reload() raise ModuleNotFoundError when a spec can't be found
Brett Cannon
report at bugs.python.org
Tue Apr 4 12:33:10 EDT 2017
Brett Cannon added the comment:
That's a good point, Serhiy, since that's what the exception is signaling. So yes, the exception should be ModuleNotFounderror.
----------
title: Have importlib.reload() raise ImportError when a spec can't be found -> Have importlib.reload() raise ModuleNotFoundError when a spec can't be found
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29851>
_______________________________________
More information about the Python-bugs-list
mailing list