]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 25 Apr 2025 20:30:33 +0000 (22:30 +0200)
committerGitHub <noreply@github.com>
Fri, 25 Apr 2025 20:30:33 +0000 (13:30 -0700)
commit08772229c77b1492efc59abde954191744147f9d
tree722575a08bf19130404c4e660e64c69b6a6389ec
parent3ff35ba47153243a9e174745afb8363ce9007e02
[3.13] gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790) (GH-132896)

gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790)
(cherry picked from commit 22bc953aa9be3039629dd1315f856d2522619412)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/enum.py
Lib/test/test_enum.py