]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:35:21 +0000 (23:35 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2024 21:35:21 +0000 (21:35 +0000)
commit183445338d439da8dcab88279659485fffb75348
tree7d3ae0d48963a1fa0208a4017feff03446e9281e
parentc9fc099c590f24e70f2b10113006f321ff54b28d
[3.12] gh-114053: Fix bad interaction of PEP 695, PEP 563 and `inspect.get_annotations` (GH-120270) (#120475)

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]