Stefan Krah added the comment: Thanks, Ian. It seems to me that these issues should be sorted out on the NumPy lists:
memoryview is not a drop-in replacement for buffer, so it has different semantics. What might help you is that you can cast any memoryview to simple bytes without making a copy: memoryview.cast('B') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14130> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com