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

2009-02-07 Thread Mark Hammond
On 8/02/2009 10:21 AM, Antoine Pitrou wrote: Mark Hammond gmail.com> writes: 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: [...] It's a bug. http://bugs.python.org/issue5182 Cheers, Mark

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

2009-02-07 Thread Antoine Pitrou
Mark Hammond gmail.com> writes: > >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: > [...] It's a bug. Regards Antoine. ___ Python-Dev mailing list

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

2009-02-07 Thread Mark Hammond
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-strin