]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126980: Fix `bytearray.__buffer__` crash on `PyBUF_{READ,WRITE}` (#126981)
authorsobolevn <mail@sobolevn.me>
Tue, 19 Nov 2024 14:44:53 +0000 (17:44 +0300)
committerGitHub <noreply@github.com>
Tue, 19 Nov 2024 14:44:53 +0000 (17:44 +0300)
commit3932e1db5353bbcf3e3c1133cc9d2cde654cb645
tree78e55b4b13b37d7dfd45f98cb91b4682f760ab69
parent4d771977b17e5ffaa9c2e8a2e6f5d393f68fc63c
gh-126980: Fix `bytearray.__buffer__` crash on `PyBUF_{READ,WRITE}` (#126981)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_buffer.py
Misc/NEWS.d/next/Core_and_Builtins/2024-11-18-23-18-17.gh-issue-126980.r8QHdi.rst [new file with mode: 0644]
Objects/bytearrayobject.c