[issue5231] Change format of a memoryview
Antoine Pitrou
report at bugs.python.org
Tue Aug 23 15:24:17 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> Or go all the way and make memoryview take any flag:
>
> a = array.array('i', [1,2,3])
> m = memoryview(a, getbuf=PyBUF_SIMPLE)
This is good for testing, but Python developers shouldn't have to know
about the low-level flags.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5231>
_______________________________________
More information about the Python-bugs-list
mailing list