
Jan. 30, 2013
9:25 a.m.
Eli Bendersky, 30.01.2013 06:26:
enum color: RED, WHITE, BLUE
Would adding a new "enum" keyword in Python 3.4 *really* meet that much resistance? ISTM built-in, standard, enums have been on the wishlist of Python developers for a long time.
Special cases aren't special enough to break the rules (or even existing code!). Stefan