summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-07-31 17:24:44 (GMT)
committerGitHub <noreply@github.com>2023-07-31 17:24:44 (GMT)
commitde51dede5b48ef23d7d33d92f3616824e23fd205 (patch)
tree0563a81367ba29fe092b789d9318724b864a30eb
parent5eb80a61f582802c3f1caa3bf4dc754847bf1e75 (diff)
downloadcpython-de51dede5b48ef23d7d33d92f3616824e23fd205.zip
cpython-de51dede5b48ef23d7d33d92f3616824e23fd205.tar.gz
cpython-de51dede5b48ef23d7d33d92f3616824e23fd205.tar.bz2
gh-106762: Add news for `EnumMeta.__getattr__` removal (GH-107466)
-rw-r--r--Doc/whatsnew/3.12.rst4
-rw-r--r--Misc/NEWS.d/3.12.0a1.rst2
2 files changed, 5 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 99500e1..0ac4a3d 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -1234,6 +1234,10 @@ Removed
(Contributed by Pradyun Gedam in :gh:`95299`.)
+* :mod:`enum`: Remove ``EnumMeta.__getattr__``, which is no longer needed for
+ enum attribute access.
+ (Contributed by Ethan Furman in :gh:`95083`.)
+
* :mod:`ftplib`: Remove the ``FTP_TLS.ssl_version`` class attribute: use the
*context* parameter instead.
(Contributed by Victor Stinner in :gh:`94172`.)
diff --git a/Misc/NEWS.d/3.12.0a1.rst b/Misc/NEWS.d/3.12.0a1.rst
index 40f6a6c..5178f40 100644
--- a/Misc/NEWS.d/3.12.0a1.rst
+++ b/Misc/NEWS.d/3.12.0a1.rst
@@ -2752,7 +2752,7 @@ by Shin-myoung-serp.
.. section: Library
Add deprecation warning for enum ``member.member`` access (e.g.
-``Color.RED.BLUE``).
+``Color.RED.BLUE``). Remove ``EnumMeta.__getattr__``.
..