
July 28, 2011
11:58 p.m.
On Jul 28, 2011, at 4:42 PM, Michael Foord wrote:
Why not Colors.inject(__name__)?
Because enums aren't import enough to warrant introducing little atrocities into the language. Raymond P.S. I used the term "language" instead of stdlib because I expect enums to be like decorators and context managers in that they will be used almost everywhere -- you won't be able to ignore them. Effectively, they will become a core language feature.