summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-10-17 16:45:25 (GMT)
committerGitHub <noreply@github.com>2024-10-17 16:45:25 (GMT)
commitf203d1cb52f7697140337a73841c8412282e2ee0 (patch)
tree4f78e4c4c8f9a0d7ce7e8dc1a242cbe7f1b57f04 /Misc
parent04d6dd23e2d8a3132772cf7ce928676e26313585 (diff)
downloadcpython-f203d1cb52f7697140337a73841c8412282e2ee0.zip
cpython-f203d1cb52f7697140337a73841c8412282e2ee0.tar.gz
cpython-f203d1cb52f7697140337a73841c8412282e2ee0.tar.bz2
gh-125017: Fix crash on premature access to classmethod/staticmethod annotations (#125636)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core_and_Builtins/2024-10-16-23-06-06.gh-issue-125017.fcltj0.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-10-16-23-06-06.gh-issue-125017.fcltj0.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-10-16-23-06-06.gh-issue-125017.fcltj0.rst
new file mode 100644
index 0000000..11c5266
--- /dev/null
+++ b/Misc/NEWS.d/next/Core_and_Builtins/2024-10-16-23-06-06.gh-issue-125017.fcltj0.rst
@@ -0,0 +1,2 @@
+Fix crash on certain accesses to the ``__annotations__`` of
+:class:`staticmethod` and :class:`classmethod` objects.