]> 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)
committerPablo Galindo <pablogsal@gmail.com>
Sat, 22 Oct 2022 19:53:46 +0000 (20:53 +0100)
commit9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02
tree8e679c670eae446b9a4217a73b82216888a35d37
parent84fd4a54a61097ae2f80344f4dbd5b33cc2b7768
[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