]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-92858: Improve error message for some suites with syntax error before ...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Thu, 23 Jun 2022 17:37:53 +0000 (18:37 +0100)
committerGitHub <noreply@github.com>
Thu, 23 Jun 2022 17:37:53 +0000 (18:37 +0100)
commit05cae2657289d17b2e385095056140153ceec28c
treeee265c05d83b13f8c300e6006b0614831f165897
parent34be807139df0d9f46e1ab9deb7d2e59dcffa2c8
[3.10] gh-92858: Improve error message for some suites with syntax error before ':' (GH-92894). (#94183)

(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