diff options
author | Shantanu <12621235+hauntsaninja@users.noreply.github.com> | 2022-07-19 06:24:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-19 06:24:48 (GMT) |
commit | 906b345dddb4cc5f72a11a10c4e3f1f7712919c0 (patch) | |
tree | 18e8f4115c9e5c9560ca5a23d524ef842534ce5c /Misc | |
parent | 96e15167b0a902db206f0868f081b3d73e4e18fc (diff) | |
download | cpython-906b345dddb4cc5f72a11a10c4e3f1f7712919c0.zip cpython-906b345dddb4cc5f72a11a10c4e3f1f7712919c0.tar.gz cpython-906b345dddb4cc5f72a11a10c4e3f1f7712919c0.tar.bz2 |
[3.10] gh-94949: Disallow parsing parenthesised ctx mgr with old feature_version (GH-94950) (#94990)
(cherry picked from commit 0daba822212cd5d6c63384a27f390f0945330c2b)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-07-18-05-10-29.gh-issue-94949.OsZ7_s.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-07-18-05-10-29.gh-issue-94949.OsZ7_s.rst b/Misc/NEWS.d/next/Core and Builtins/2022-07-18-05-10-29.gh-issue-94949.OsZ7_s.rst new file mode 100644 index 0000000..bc452d4 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-07-18-05-10-29.gh-issue-94949.OsZ7_s.rst @@ -0,0 +1 @@ +:func:`ast.parse` will no longer parse parenthesized context managers when passed ``feature_version`` less than ``(3, 9)``. Patch by Shantanu Jain. |