summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2023-10-27 05:24:56 (GMT)
committerGitHub <noreply@github.com>2023-10-27 05:24:56 (GMT)
commit7f9a99e8549b792662f2cd28bf38a4d4625bd402 (patch)
tree3e31df6a620f6a41c9a3547187ee794bbe343823 /Misc/NEWS.d
parentee2d22f06d8a4ca13b2dba5e8a7a639a3997cc69 (diff)
downloadcpython-7f9a99e8549b792662f2cd28bf38a4d4625bd402.zip
cpython-7f9a99e8549b792662f2cd28bf38a4d4625bd402.tar.gz
cpython-7f9a99e8549b792662f2cd28bf38a4d4625bd402.tar.bz2
gh-89519: Remove classmethod descriptor chaining, deprecated since 3.11 (gh-110163)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2023-09-30-17-30-11.gh-issue-89519.hz2pZf.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-09-30-17-30-11.gh-issue-89519.hz2pZf.rst b/Misc/NEWS.d/next/Core and Builtins/2023-09-30-17-30-11.gh-issue-89519.hz2pZf.rst
new file mode 100644
index 0000000..fd9d0ed
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2023-09-30-17-30-11.gh-issue-89519.hz2pZf.rst
@@ -0,0 +1,6 @@
+Removed chained :class:`classmethod` descriptors (introduced in
+:issue:`19072`). This can no longer be used to wrap other descriptors such
+as :class:`property`. The core design of this feature was flawed and caused
+a number of downstream problems. To "pass-through" a :class:`classmethod`,
+consider using the :attr:`!__wrapped__` attribute that was added in Python
+3.10.