Skip to content

Commit

Permalink
[3.12] pythongh-106762: Add news for EnumMeta.__getattr__ removal (p…
Browse files Browse the repository at this point in the history
…ythonGH-107466) (pythonGH-107509)

pythongh-106762: Add news for `EnumMeta.__getattr__` removal (pythonGH-107466)
(cherry picked from commit de51ded)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
  • Loading branch information
miss-islington and jacobtylerwalls authored Jul 31, 2023
1 parent 5f7862d commit 0fbe69f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.)
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.12.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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__``.

..
Expand Down

0 comments on commit 0fbe69f

Please sign in to comment.