]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-104271: Fix auto() fallback in case of mixed type Enum (GH-104809)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 23 May 2023 19:48:20 +0000 (12:48 -0700)
committerGitHub <noreply@github.com>
Tue, 23 May 2023 19:48:20 +0000 (12:48 -0700)
commit582aadc80e566fe8ab9b15d4d221e1ea84d03c6a
treea93d812d87cae84f1a6a927f14e8d224284da475
parentac12a6bf34e8fb55958f027444f58016aa9600ea
[3.11] gh-104271: Fix auto() fallback in case of mixed type Enum (GH-104809)

[3.12] gh-104271: Fix auto() fallback in case of mixed type Enum (GH-104279)
(cherry picked from commit f4e2049f14d40c1b893c68530eec5e341cf3d929)

Co-authored-by: Itamar Ostricher <itamarost@gmail.com>
Lib/enum.py
Lib/test/test_enum.py