Message376512
But iterating it raises different type of exception, wish obscure message.
>>> import ctypes
>>> mem_0d = memoryview(ctypes.c_uint8(42))
>>> list(mem_0d)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NotImplementedError: memoryview: unsupported format <B
Should not '<B' and be equivalent to '>B' and just 'B'? Would not adding support of formats with specified endianess make 0-dimensional memoryview objects iterable? |
|
Date |
User |
Action |
Args |
2020-09-07 16:25:54 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, skrah, Eric Wieser |
2020-09-07 16:25:54 | serhiy.storchaka | set | messageid: <1599495954.7.0.328687030291.issue39610@roundup.psfhosted.org> |
2020-09-07 16:25:54 | serhiy.storchaka | link | issue39610 messages |
2020-09-07 16:25:54 | serhiy.storchaka | create | |
|