]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-148390: fix undefined behavior of `memoryview(...).cast("?")` (GH-148454...
authorStan Ulbrych <stan@python.org>
Fri, 1 May 2026 15:43:59 +0000 (16:43 +0100)
committerGitHub <noreply@github.com>
Fri, 1 May 2026 15:43:59 +0000 (17:43 +0200)
commit454401c8e995dc15d5a096f35ff005746efcc915
treed968722075b473a420860832d2bcd714b967288a
parent5ec845a0444bc97d8a684dc99840daeb5fa8c1e9
[3.14] gh-148390: fix undefined behavior of `memoryview(...).cast("?")` (GH-148454) (GH-148667)

(cherry picked from commit 69e0a78e6edc3166c7a5b166955c0cefd1bacd5d)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_memoryview.py
Misc/NEWS.d/next/Core_and_Builtins/2026-04-12-17-27-28.gh-issue-148390.MAhw7F.rst [new file with mode: 0644]
Objects/memoryobject.c
Tools/c-analyzer/cpython/globals-to-fix.tsv