]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (GH-96588...
authorNikita Sobolev <mail@sobolevn.me>
Wed, 5 Oct 2022 22:00:13 +0000 (01:00 +0300)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2022 22:00:13 +0000 (15:00 -0700)
commit8c6ced36abb9ccc5dc6c8def1b376484685255c5
tree8b783ee98ac092a5f8983daef64451cf24d04cab
parenta8d50aeada9b6e2be1a4b6e498002c11b783a32a
[3.11] gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (GH-96588) (#96591)

(cherry picked from commit 2c7d2e8d46164efb6e27a64081d8e949f6876515)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Grammar/python.gram
Lib/test/test_ast.py
Misc/NEWS.d/next/Core and Builtins/2022-09-05-19-20-44.gh-issue-96587.bVxhX2.rst [new file with mode: 0644]
Parser/parser.c