]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44242: [Enum] remove missing bits test from Flag creation (GH-26586)
authorEthan Furman <ethan@stoneleaf.us>
Wed, 9 Jun 2021 16:03:55 +0000 (09:03 -0700)
committerGitHub <noreply@github.com>
Wed, 9 Jun 2021 16:03:55 +0000 (09:03 -0700)
commiteea8148b7dff5ffc7b84433859ac819b1d92a74d
tree922a243d0745124bda7fc0645ef6002e6a37981d
parent6f84656dc188191225c8d5cdfd2a00de663988d0
bpo-44242: [Enum] remove missing bits test from Flag creation (GH-26586)

Move the check for missing named flags in flag aliases from Flag creation
to a new *verify* decorator.
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]