[Python-Dev] str() on memoryview of bytearray failing on py3k (original) (raw)
Mark Hammond skippy.hammond at gmail.com
Sun Feb 8 00:13:50 CET 2009
- Previous message: [Python-Dev] IDLE reading IDLESTARTUP or PYTHONSTARTUP on restart
- Next message: [Python-Dev] str() on memoryview of bytearray failing on py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 "", line 1, in TypeError: str returned non-string (type bytes)
Cheers,
Mark
- Previous message: [Python-Dev] IDLE reading IDLESTARTUP or PYTHONSTARTUP on restart
- Next message: [Python-Dev] str() on memoryview of bytearray failing on py3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]