-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
3.12only security fixesonly security fixestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
The following will currently fail with a RecursionError:
class A(bytearray):
def __buffer__(self, flags):
return super().__buffer__(flags)
a = A()
mv = memoryview(a)
Thanks to @chilaxan for finding this, along with some related problems. I am working on a fix.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error