STINNER Victor added the comment: > Better way is data = data.cast('B').
Why is this cast required? Can you please elaborate? If some memoryview must be rejected, again, we need more unit tests. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23688> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com