Benjamin Peterson <benja...@python.org> added the comment: 2to3 will convert buffer to memoryview, but not by default because as you can see, it can be wrong. (Pass "-f buffer" to 2to3.) You can only use memoryviews on bytes-like objects like b'a', and not unicode strings (This is like 2.x.).
---------- nosy: +benjamin.peterson resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5517> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com