]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-145187: Fix crash on invalid type parameter bound expression in conditional...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Feb 2026 21:13:08 +0000 (22:13 +0100)
committerGitHub <noreply@github.com>
Tue, 24 Feb 2026 21:13:08 +0000 (21:13 +0000)
commit12092af02eaac070723ad957bd83f4d3acf982eb
treedb3984118246e39fb697495768867049b10e54ac
parentbbce6ba08c54317da3e5873132e8783de60304dc
[3.14] gh-145187: Fix crash on invalid type parameter bound expression in conditional block (GH-145188) (#145196)

gh-145187: Fix crash on invalid type parameter bound expression in conditional block (GH-145188)

Fix parsing crash found by oss-fuzz
(cherry picked from commit 5e61a16c1058e5de66b71dfdc9720d40e9f515d9)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Lib/test/test_type_params.py
Misc/NEWS.d/next/Core_and_Builtins/2026-02-24-18-30-56.gh-issue-145187.YjPu1Z.rst [new file with mode: 0644]
Python/codegen.c