[New-bugs-announce] [issue26151] str(bytes) does __repr__() instead of __str__()
Johnny Wezel
report at bugs.python.org
Tue Jan 19 06:52:04 EST 2016
New submission from Johnny Wezel:
str(b'xxx') returns "b'xxx'" instead of 'xxx'
----------
components: Interpreter Core, Unicode
messages: 258583
nosy: ezio.melotti, haypo, jwezel
priority: normal
severity: normal
status: open
title: str(bytes) does __repr__() instead of __str__()
type: behavior
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26151>
_______________________________________
More information about the New-bugs-announce
mailing list