This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Eric Wieser, serhiy.storchaka, skrah
Date 2020-09-07.16:25:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599495954.7.0.328687030291.issue39610@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2020-09-07 16:25:54serhiy.storchakasetrecipients: + serhiy.storchaka, skrah, Eric Wieser
2020-09-07 16:25:54serhiy.storchakasetmessageid: <1599495954.7.0.328687030291.issue39610@roundup.psfhosted.org>
2020-09-07 16:25:54serhiy.storchakalinkissue39610 messages
2020-09-07 16:25:54serhiy.storchakacreate