]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-126980: Fix `bytearray.__buffer__` crash on `PyBUF_{READ,WRITE}` (GH-126981...
authorsobolevn <mail@sobolevn.me>
Tue, 19 Nov 2024 17:37:53 +0000 (20:37 +0300)
committerGitHub <noreply@github.com>
Tue, 19 Nov 2024 17:37:53 +0000 (20:37 +0300)
commit3fae84fe58d3da70ceca28f01647a38a590547b6
tree5cce9571488e5e8b388695bb7777e11bf5ef57dd
parentdd222a4d47e48a3d8d0611314ac7342bdf1ec2a0
[3.13] gh-126980: Fix `bytearray.__buffer__` crash on `PyBUF_{READ,WRITE}` (GH-126981) (#127023)

(cherry picked from commit 3932e1db5353bbcf3e3c1133cc9d2cde654cb645)

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