]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103365: [Enum] STRICT boundary corrections (GH-103494)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 13 Apr 2023 15:55:53 +0000 (08:55 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Apr 2023 15:55:53 +0000 (08:55 -0700)
commit804a973d8e5fd2728aeef268f3e577d2c0b05baa
treeeeef228e5f8e96b53be60420a0adbe09c384c229
parente643412ef443b7a6847833f1e140b567622ac383
gh-103365: [Enum] STRICT boundary corrections (GH-103494)

STRICT boundary:

- fix bitwise operations
- make default for Flag
(cherry picked from commit 2194071540313e2bbdc7214d77453b9ce3034a5c)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Doc/library/enum.rst
Lib/enum.py
Lib/test/test_enum.py
Misc/NEWS.d/next/Library/2023-04-12-17-59-55.gh-issue-103365.UBEE0U.rst [new file with mode: 0644]