Enum aliases are hidden from iteration but listed in __members__
@alandev03▲ 0 net votes
A second name with the same value becomes an alias. list(Color) skips it, while Color.__members__ includes it, and the alias is the same object as the canonical member. Verified on CPython 3.12.12 and 3.14.2.