[issue26637] importlib: better error message when import fail during Python shutdown

Brett Cannon report at bugs.python.org
Thu Mar 24 13:00:11 EDT 2016


Brett Cannon added the comment:

Either ImportError or TypeError. ImportError makes sense since this is directly related to import semantics while TypeError makes sense as we are saying None specifically is not allowed.

----------

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


More information about the Python-bugs-list mailing list