]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-138944: Fix `SyntaxError` message for invalid syntax following valid import...
authorBrian Schubert <brianm.schubert@gmail.com>
Fri, 31 Oct 2025 10:26:40 +0000 (06:26 -0400)
committerGitHub <noreply@github.com>
Fri, 31 Oct 2025 10:26:40 +0000 (11:26 +0100)
commitd0c78a458b3b3d908981fe306f77865de35d040a
tree46cc925c5ac00680b7fdaf0c25fc689c7b06b956
parent6c025a040d1b1529be22a9ab0c2ce9976ed37b6c
[3.14] gh-138944: Fix `SyntaxError` message for invalid syntax following valid import-as statement (GH-138945) (#140646)

(cherry picked from commit 3dab11f888fda34c02734e4468d1acd4c36927fe)
Grammar/python.gram
Lib/test/test_syntax.py
Misc/NEWS.d/next/Core_and_Builtins/2025-09-15-13-06-11.gh-issue-138944.PeCgLb.rst [new file with mode: 0644]
Parser/parser.c