On Sunday, September 22, 2013, Zero Piraeus wrote: > I may be misunderstanding the use case given in the issue, but it seems > to me that having to use > > Color.red.__class__.blue > > (what is being complained about in the issue), while not exactly pretty, > makes a lot more semantic sense than > > Color.red.blue > > ... which is just bizarre.
Right. > Enum members aren't class attributes, even if the way they're defined > makes them look as though they are. Allowing this is just asking for > more confusion on the part of anyone using them IMHO. > Depends on how you define "class sttribute". --Guido -- --Guido van Rossum (on iPad)
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com