summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-05-10 15:42:00 (GMT)
committerGitHub <noreply@github.com>2024-05-10 15:42:00 (GMT)
commit13d7cf997bc9c22cf67c42fd799413e8325e0039 (patch)
tree4a1d22bfa3709a1fe3e59dcb37e430068fdf9642 /Misc
parentc444362c6e0b6c01f49c3bee864100f52bd3b640 (diff)
downloadcpython-13d7cf997bc9c22cf67c42fd799413e8325e0039.zip
cpython-13d7cf997bc9c22cf67c42fd799413e8325e0039.tar.gz
cpython-13d7cf997bc9c22cf67c42fd799413e8325e0039.tar.bz2
gh-118895: Call PyType_Ready() on typing.NoDefault (#118897)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-05-10-05-24-32.gh-issue-118895.wUm5r2.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-05-10-05-24-32.gh-issue-118895.wUm5r2.rst b/Misc/NEWS.d/next/Library/2024-05-10-05-24-32.gh-issue-118895.wUm5r2.rst
new file mode 100644
index 0000000..226c8d6
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-05-10-05-24-32.gh-issue-118895.wUm5r2.rst
@@ -0,0 +1,2 @@
+Setting attributes on :data:`typing.NoDefault` now raises
+:exc:`AttributeError` instead of :exc:`TypeError`.