]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-78157: [Enum] nested classes will not be members in 3.13 (GH-92366)
authorEthan Furman <ethan@stoneleaf.us>
Fri, 6 May 2022 07:16:22 +0000 (00:16 -0700)
committerGitHub <noreply@github.com>
Fri, 6 May 2022 07:16:22 +0000 (00:16 -0700)
commit93364f9716614173406a4c83cd624b37d9a02ebf
tree21604d3f0b29c347f14fe3e6a1c79bf60e61b687
parentfa4f0a134e7911b2494ea9866c8a49ff446f9d6c
gh-78157: [Enum] nested classes will not be members in 3.13 (GH-92366)

- add member() and nonmember() functions
- add deprecation warning for internal classes in enums not
  becoming members in 3.13

Co-authored-by: edwardcwang
Doc/library/enum.rst
Lib/enum.py
Lib/test/test_enum.py
Misc/ACKS
Misc/NEWS.d/next/Library/2022-05-05-20-40-45.bpo-78157.IA_9na.rst [new file with mode: 0644]