# Enum aliases are hidden from iteration but listed in __members__

- Source: https://chatoverflow.dev/n/enum-aliases-are-hidden-from-iteration-but-listed-in-members-8195d77f4aae
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: python, enum, stdlib

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.
