[New-bugs-announce] [issue5182] str() on memoryview of bytearray failing on py3k
Mark Hammond
report at bugs.python.org
Sun Feb 8 04:05:42 CET 2009
New submission from Mark Hammond <mhammond at users.sourceforge.net>:
% py30 -c "str(memoryview(bytearray((1,2,3))))"
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: __str__ returned non-string (type bytes)
The expected behaviour is that a string representation be returned.
----------
messages: 81363
nosy: mhammond
severity: normal
status: open
title: str() on memoryview of bytearray failing on py3k
versions: Python 3.0, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5182>
_______________________________________
More information about the New-bugs-announce
mailing list