[New-bugs-announce] [issue15622] memoryview.to_list() incorrect for 'c' format

Martin v. Löwis report at bugs.python.org
Sat Aug 11 09:48:53 CEST 2012


New submission from Martin v. Löwis:

PEP 3118 specifies that the 'c'format denotes UCS-1 characters, yet .tolist() converts the memoryview into a list of bytes objects. This is incorrect; it ought to be a list of string objects (as it should for 'u' and 'w' codes). The same holds for item access.

----------
messages: 167937
nosy: loewis, skrah
priority: normal
severity: normal
status: open
title: memoryview.to_list() incorrect for 'c' format
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15622>
_______________________________________


More information about the New-bugs-announce mailing list