On Apr 12, 2013, at 05:17 PM, R. David Murray wrote: >Now, you could *further* require that the type of enum values be >sortable....but that point you really have no excuse for not allowing >enum values to be compared :)
I'd be more willing to give up on sorting for the base enum type's iteration and repr. It's not crucial functionality whereas I still don't want the base enum values to support ordered comparisons. -Barry _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com