New submission from Mark Hammond <mhamm...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue5182>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to