summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-25 16:30:08 (GMT)
committerGitHub <noreply@github.com>2024-06-25 16:30:08 (GMT)
commitf4f8a714b5fe0e83d63c54cdf39e8d8920047e6c (patch)
treefb85b7735edb71983732d494c4dce61690d3773c /Misc/NEWS.d
parent899dfbaf0e62c71885eced4747d7d4c93b7bbd4f (diff)
downloadcpython-f4f8a714b5fe0e83d63c54cdf39e8d8920047e6c.zip
cpython-f4f8a714b5fe0e83d63c54cdf39e8d8920047e6c.tar.gz
cpython-f4f8a714b5fe0e83d63c54cdf39e8d8920047e6c.tar.bz2
[3.13] gh-114053: Fix another edge case involving `get_type_hints`, PEP 695 and PEP 563 (GH-120272) (#121003)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2024-06-08-15-46-35.gh-issue-114053.Ub2XgJ.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-06-08-15-46-35.gh-issue-114053.Ub2XgJ.rst b/Misc/NEWS.d/next/Library/2024-06-08-15-46-35.gh-issue-114053.Ub2XgJ.rst
new file mode 100644
index 0000000..8aea591
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-06-08-15-46-35.gh-issue-114053.Ub2XgJ.rst
@@ -0,0 +1,4 @@
+Fix edge-case bug where :func:`typing.get_type_hints` would produce
+incorrect results if type parameters in a class scope were overridden by
+assignments in a class scope and ``from __future__ import annotations``
+semantics were enabled. Patch by Alex Waygood.