summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-11-29 17:55:06 (GMT)
committerGitHub <noreply@github.com>2023-11-29 17:55:06 (GMT)
commitc67812668f228b58f35a46023981c6d22fb3b5e9 (patch)
tree9e492aeadd696a1c86c6056173c0d4507a0e2bbe /Misc/NEWS.d
parent01b882b39043f5c9f594c85b12e215df7c5af69c (diff)
downloadcpython-c67812668f228b58f35a46023981c6d22fb3b5e9.zip
cpython-c67812668f228b58f35a46023981c6d22fb3b5e9.tar.gz
cpython-c67812668f228b58f35a46023981c6d22fb3b5e9.tar.bz2
[3.12] gh-112509: Fix keys being present in both required_keys and optional_keys in TypedDict (GH-112512) (#112530)
(cherry picked from commit 403886942376210662610627b01fea6acd77d331) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2023-11-28-20-01-33.gh-issue-112509.QtoKed.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-11-28-20-01-33.gh-issue-112509.QtoKed.rst b/Misc/NEWS.d/next/Library/2023-11-28-20-01-33.gh-issue-112509.QtoKed.rst
new file mode 100644
index 0000000..a16d67e
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-11-28-20-01-33.gh-issue-112509.QtoKed.rst
@@ -0,0 +1,3 @@
+Fix edge cases that could cause a key to be present in both the
+``__required_keys__`` and ``__optional_keys__`` attributes of a
+:class:`typing.TypedDict`. Patch by Jelle Zijlstra.