]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-116040: [Enum] fix by-value calls when second value is falsey (GH-116072...
authorEthan Furman <ethan@stoneleaf.us>
Thu, 7 Mar 2024 23:26:13 +0000 (15:26 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2024 23:26:13 +0000 (15:26 -0800)
commitd771729679d39904768f60b3352e02f5f491966c
treef10e71a75c35cd90085a1bf170898fb079a48ef6
parent4efd20e23a1cafe442e663355ca3644c3904c945
[3.12] gh-116040: [Enum] fix by-value calls when second value is falsey (GH-116072) (GH-116476)

e.g. Cardinal(1, 0)

(cherry picked from commit 13ffd4bd9f529b6a5fe33741fbd57f14b4b80137)
Lib/enum.py
Lib/test/test_enum.py
Misc/NEWS.d/next/Library/2024-02-28-13-10-17.gh-issue-116040.wDidHd.rst [new file with mode: 0644]