[issue15622] memoryview.to_list() incorrect for 'c' format

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


Martin v. Löwis added the comment:

To reproduce:

>>> memoryview(array.array('B',b'foo')).cast('c').tolist()
[b'f', b'o', b'o']

----------

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


More information about the Python-bugs-list mailing list