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