[issue15180] Cryptic traceback from os.path.join when mixing str & bytes

Antoine Pitrou report at bugs.python.org
Mon Jul 2 21:53:14 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> If the policy for exception messages, such as it is, documented
> somewhere?

I think we are quite free to change exception messages, as long as the change is motivated. They are not part of the API definitions, and people shouldn't rely on them (the exception may for KeyError and such exceptions where the message is actually the value of the failed key).

----------

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


More information about the Python-bugs-list mailing list