[issue4205] unexpected str.__init__() behaviour on b''

Benjamin Peterson report at bugs.python.org
Sat Oct 25 23:46:44 CEST 2008


Benjamin Peterson <musiccomposition at gmail.com> added the comment:

This is expected. There is no bytes.__str__ method, so the
bytes.__repr__ is used.

----------
nosy: +benjamin.peterson
resolution:  -> invalid
status: open -> closed

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


More information about the Python-bugs-list mailing list