]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-148390: fix undefined behavior of `memoryview(...).cast("?")` (GH-148454...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 8 May 2026 15:50:00 +0000 (17:50 +0200)
committerGitHub <noreply@github.com>
Fri, 8 May 2026 15:50:00 +0000 (17:50 +0200)
commit05956df2c2dd15645acb627891314c06110c5c76
tree742830bfea06d73fbd72f2b20814e9f7716e1ee8
parent412b001fa7be7753da93080fc8b9085c9a0c01ff
[3.13] gh-148390: fix undefined behavior of `memoryview(...).cast("?")` (GH-148454) (GH-149299)

(cherry picked from commit 69e0a78e6edc3166c7a5b166955c0cefd1bacd5d)
(cherry picked from commit 454401c8e995dc15d5a096f35ff005746efcc915)

Co-authored-by: Stan Ulbrych <stan@python.org>
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