[issue5517] 2to3 haven't convert buffer object to memoryview
Benjamin Peterson
report at bugs.python.org
Thu Mar 19 12:44:06 CET 2009
Benjamin Peterson <benjamin at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5517>
_______________________________________
More information about the Python-bugs-list
mailing list