]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-44242: [Enum] remove missing bits test from Flag creation (GH-26586) ...
authorEthan Furman <ethan@stoneleaf.us>
Thu, 10 Jun 2021 14:24:20 +0000 (07:24 -0700)
committerGitHub <noreply@github.com>
Thu, 10 Jun 2021 14:24:20 +0000 (07:24 -0700)
commit749648609de89f14581190ea34b9c0968787a701
tree4eac5eec1b87375b765061882b23fdbdc04f9d5f
parent0895e62c9b4f03b83120d44cb32587804084e0e2
[3.10] bpo-44242: [Enum] remove missing bits test from Flag creation (GH-26586) (GH-26635)

Move the check for missing named flags in flag aliases from Flag creation
to a new *verify* decorator..

(cherry picked from commit eea8148b7dff5ffc7b84433859ac819b1d92a74d)

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/2021-06-07-10-26-14.bpo-44242.MKeMCQ.rst [new file with mode: 0644]