]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-114053: Fix bad interaction of PEP 695, PEP 563 and `inspect.get_annotation...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 13 Jun 2024 21:41:14 +0000 (23:41 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2024 21:41:14 +0000 (21:41 +0000)
commitd4174fa7cab8883e7db3f4b810533e0d203c3c76
treebb2317755e9b16a18553324790f104445a3c2939
parentd5ad3b7fc8f5c02210b19bf833582f9f89010658
[3.13] gh-114053: Fix bad interaction of PEP 695, PEP 563 and `inspect.get_annotations` (GH-120270) (#120474)

gh-114053: Fix bad interaction of PEP 695, PEP 563 and `inspect.get_annotations` (GH-120270)
(cherry picked from commit 42351c3b9a357ec67135b30ed41f59e6f306ac52)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/inspect.py
Lib/test/test_inspect/inspect_stringized_annotations_pep695.py [new file with mode: 0644]
Lib/test/test_inspect/test_inspect.py
Misc/NEWS.d/next/Library/2024-06-08-15-15-29.gh-issue-114053.WQLAFG.rst [new file with mode: 0644]