[New-bugs-announce] [issue15945] memoryview + bytes fails

Jean-Paul Calderone report at bugs.python.org
Sat Sep 15 12:27:59 CEST 2012

New submission from Jean-Paul Calderone:

Python 3.3.0rc2+ (default:9def2209a839, Sep 10 2012, 08:44:51) 
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> memoryview(b'foo') + b'bar'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'memoryview' and 'bytes'
>>> b'bar' + memoryview(b'foo')

messages: 170511
nosy: exarkun
priority: normal
severity: normal
status: open
title: memoryview + bytes fails
type: behavior
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list