Skip to content

Regression: memoryview() + bytes() fails (__add__) #8973

@dhalbert

Description

@dhalbert

I discovered this on 9.0.0 while using adafruit_ble_eddystone to debug something else. It works in 8.2.x. This is a MicroPython regression between v1.20.0 and v1.21.0. Filed micropython#13733.

>>> memoryview(b'x') + b'y'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported types for __add__: 'memoryview', 'bytes'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions