[issue19803] memoryview complain ctypes byte array are not native single character

Stefan Krah report at bugs.python.org
Mon Dec 2 19:33:54 CET 2013


Stefan Krah added the comment:

Memoryview sends a *request* to ctypes to fill in a Py_buffer struct according
to the buffer *protocol*.  IOW, memoryview knows nothing about ctypes.

For some reason ctypes fills in 'B' as the format if _pack_ is set.  I do not
know if that is intended, it could be a ctypes issue.

----------

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


More information about the Python-bugs-list mailing list