[issue5231] Change format of a memoryview
Antoine Pitrou
report at bugs.python.org
Mon May 9 17:32:19 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
In the mean time I had to resort to dirty hacks in 1ac03e071d65 (such as using io.BytesIO.write(), which I know is implemented in C and doesn't care about item size).
At the minimum, a memoryview.getflatview() function would be nice (and probably easier to code than the generic version). Or a "flat" optional argument in the memoryview constructor.
----------
stage: test needed -> patch review
versions: +Python 3.3 -Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5231>
_______________________________________
More information about the Python-bugs-list
mailing list