[issue26844] Wrong error message during import
Serhiy Storchaka
report at bugs.python.org
Wed Jun 29 09:18:49 EDT 2016
Serhiy Storchaka added the comment:
__qualname__ itself is not much more informative than __name__. You should use it together with __module__ to get the full qualified name. But 1) it is never used in error messages, 2) the code becomes more verbose, 3) the output becomes more verbose, and excessive verbose for builtin types.
__name__ LGTM. It is enough to identify the error.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26844>
_______________________________________
More information about the Python-bugs-list
mailing list