A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-February/085939.html below:

[Python-Dev] str() on memoryview of bytearray failing on py3k

[Python-Dev] str() on memoryview of bytearray failing on py3k [Python-Dev] str() on memoryview of bytearray failing on py3kMark Hammond skippy.hammond at gmail.com
Sun Feb 8 00:13:50 CET 2009
Hi all,
   I'm not sure if the following is a bug I should report or simply an 
artifact of the implementation and/or simply the way things work on py3k:

% 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)

Cheers,

Mark
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4