diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-10-05 22:00:13 (GMT) |
---|---|---|
committer | Pablo Galindo <pablogsal@gmail.com> | 2022-10-22 19:53:46 (GMT) |
commit | 9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02 (patch) | |
tree | 8e679c670eae446b9a4217a73b82216888a35d37 /Misc | |
parent | 84fd4a54a61097ae2f80344f4dbd5b33cc2b7768 (diff) | |
download | cpython-9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02.zip cpython-9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02.tar.gz cpython-9cb7324e8fc37350879fc6004ebbbb1cf5f9dd02.tar.bz2 |
[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>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-09-05-19-20-44.gh-issue-96587.bVxhX2.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-09-05-19-20-44.gh-issue-96587.bVxhX2.rst b/Misc/NEWS.d/next/Core and Builtins/2022-09-05-19-20-44.gh-issue-96587.bVxhX2.rst new file mode 100644 index 0000000..37e9dcb --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-09-05-19-20-44.gh-issue-96587.bVxhX2.rst @@ -0,0 +1,2 @@ +Correctly raise ``SyntaxError`` on exception groups (:pep:`654`) on python +versions prior to 3.11 |