Message170982
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. |
|
Date |
User |
Action |
Args |
2012-09-22 10:21:42 | pitrou | set | recipients:
+ pitrou, ezio.melotti, Arfrever, skrah, serhiy.storchaka |
2012-09-22 10:21:42 | pitrou | set | messageid: <1348309302.84.0.142602486395.issue15958@psf.upfronthosting.co.za> |
2012-09-22 10:21:42 | pitrou | link | issue15958 messages |
2012-09-22 10:21:41 | pitrou | create | |
|