]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-42517: [Enum] deprecate private name members (GH-23722) (GH-23748)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 Dec 2020 23:56:58 +0000 (15:56 -0800)
committerGitHub <noreply@github.com>
Mon, 14 Dec 2020 23:56:58 +0000 (15:56 -0800)
commitaba12b67c18b17bb727a0d50dd0653e38cb64dc8
tree204b0a9d0f5805607faf03a248445c60e1c20a36
parent6b2ed385094839c1920b934f07d946bf049a3770
[3.9] bpo-42517: [Enum] deprecate private name members (GH-23722) (GH-23748)

private names will raise a DeprecationWarning; in 3.10 they will become normal attributes
Doc/library/enum.rst
Lib/enum.py
Lib/test/test_enum.py
Misc/NEWS.d/next/Library/2020-12-09-10-59-16.bpo-42517.FKEVcZ.rst [new file with mode: 0644]