summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-10 16:36:33 (GMT)
committerGitHub <noreply@github.com>2024-05-10 16:36:33 (GMT)
commit6df49134b3f59a84c6d9a3883b23fa2873db2534 (patch)
treef054196ffc5fbd75dfcb538c90beb92260f81cd9 /Misc
parent0becae366c9d0b98d3f53849098e76bc8b1ef574 (diff)
downloadcpython-6df49134b3f59a84c6d9a3883b23fa2873db2534.zip
cpython-6df49134b3f59a84c6d9a3883b23fa2873db2534.tar.gz
cpython-6df49134b3f59a84c6d9a3883b23fa2873db2534.tar.bz2
[3.13] gh-118895: Call PyType_Ready() on typing.NoDefault (GH-118897) (#118914)
(cherry picked from commit 13d7cf997bc9c22cf67c42fd799413e8325e0039) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
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`.