Miro Hrončok <m...@hroncok.cz> added the comment: Apparently, the exception already contains a path attribute with exactly the kind of information I'd like to see.
What if the message was: ImportError: bad magic number in '/usr/bin/six.pyc': b'\x03\xf3\r\n' Would that be accepted as a PR? Should I discuss this on the mailing list? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46835> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com