[issue26151] str(bytes) does __repr__() instead of __str__()

Johnny Wezel report at bugs.python.org
Tue Jan 19 11:19:08 EST 2016


Johnny Wezel added the comment:

The other question is why one would want to run such a statement. This is almost certainly a bug in which case an error one would be better off with an exception.

----------

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


More information about the Python-bugs-list mailing list