]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-92858: Improve error message for some suites with syntax error before ...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Thu, 23 Jun 2022 17:38:06 +0000 (18:38 +0100)
committerGitHub <noreply@github.com>
Thu, 23 Jun 2022 17:38:06 +0000 (18:38 +0100)
commit65ed8b47eeac96e1da4e4d43a02f9ba7ee3788ac
tree27749d9cae568e6ec2f9cfb39511317fa07f02a3
parentee82f0f31454cef1e73bd95e1814faabd91b0810
[3.11] gh-92858: Improve error message for some suites with syntax error before ':' (GH-92894) (#94180)

(cherry picked from commit 2fc83ac3afa161578200dbf8d823a20e0801c0c0)

Co-authored-by: wookie184 <wookie1840@gmail.com>
Co-authored-by: wookie184 <wookie1840@gmail.com>
Grammar/python.gram
Lib/test/test_syntax.py
Misc/NEWS.d/next/Core and Builtins/2022-05-17-20-41-43.gh-issue-92858.eIXJTn.rst [new file with mode: 0644]
Parser/parser.c