]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95077: [Enum] add code-based deprecation warnings for member.member access (GH...
authorEthan Furman <ethan@stoneleaf.us>
Mon, 25 Jul 2022 18:05:10 +0000 (11:05 -0700)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 18:05:10 +0000 (11:05 -0700)
commit4e704d7847f2333f581f87e31b42e44a471df93a
tree246f0b4061cdb9130f67dabda15d17aec7cff02d
parent73ee5a6b865fbd2e89b5b1f0a33bd7bcc7176c21
gh-95077: [Enum] add code-based deprecation warnings for member.member access (GH-95083)

* issue deprecation warning for member.member access
* always store member property in current class
* remove __getattr__
Doc/howto/enum.rst
Doc/library/enum.rst
Lib/enum.py
Lib/test/test_enum.py
Misc/NEWS.d/next/Library/2022-07-22-00-58-49.gh-issue-95077.4Z6CNC.rst [new file with mode: 0644]