]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109118: Disallow nested scopes within PEP 695 scopes within classes (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Sep 2023 14:31:26 +0000 (07:31 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2023 14:31:26 +0000 (16:31 +0200)
commit8208657f3d6398817f7dd6e5160ea037840e562f
treee9c8c4fcf68ad8d1a093f012ca18bfdcb9d3c1b6
parent778d094126f8975a9823ed7da1a630e29bb75bf0
[3.12] gh-109118: Disallow nested scopes within PEP 695 scopes within classes (GH-109196) (#109297)

gh-109118: Disallow nested scopes within PEP 695 scopes within classes (GH-109196)

Fixes GH-109118. Fixes GH-109194.

(cherry picked from commit b88d9e75f68f102aca45fa62e2b0e2e2ff46d810)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Carl Meyer <carl@oddbird.net>
Lib/test/test_type_params.py
Misc/NEWS.d/next/Core and Builtins/2023-09-09-12-49-46.gh-issue-109118.gx0X4h.rst [new file with mode: 0644]
Python/symtable.c