[issue15945] memoryview + bytes fails
Antoine Pitrou
report at bugs.python.org
Thu Oct 11 22:32:23 CEST 2012
Antoine Pitrou added the comment:
Well, the fact that memoryview + bytes wouldn't return you a memoryview object might be a good reason to disallow it. Compare with:
>>> bytearray(b"x") + b"y"
bytearray(b'xy')
>>> b"x" + bytearray(b"y")
b'xy'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15945>
_______________________________________
More information about the Python-bugs-list
mailing list