]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106762: Add news for `EnumMeta.__getattr__` removal (GH-107466)
authorJacob Walls <jacobtylerwalls@gmail.com>
Mon, 31 Jul 2023 17:24:44 +0000 (13:24 -0400)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2023 17:24:44 +0000 (10:24 -0700)
Doc/whatsnew/3.12.rst
Misc/NEWS.d/3.12.0a1.rst

index 99500e1f3214684311ab261c477f0862ef49887c..0ac4a3df8fefa3d19e79f87c574af4862e54bff0 100644 (file)
@@ -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`.)
index 40f6a6cb430d35a4fde2ab07165456c08c727c83..5178f4055e7b8e74ba5b8f7eceb5f7de20337934 100644 (file)
@@ -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__``.
 
 ..