[issue15958] bytes.join() should allow arbitrary buffer objects
Antoine Pitrou
report at bugs.python.org
Sat Sep 22 12:21:42 CEST 2012
Antoine Pitrou added the comment:
Well, given the following works:
>>> import array
>>> a = array.array('d', [1.2345])
>>> b'' + a
b'\x8d\x97n\x12\x83\xc0\xf3?'
It should also work for bytes.join().
I guess that means I'm against the strict-typedness of memoryviews. As the name suggests, it provides access to some memory area, not some structured array of data.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15958>
_______________________________________
More information about the Python-bugs-list
mailing list