
July 27, 2011
9:42 p.m.
Barry Warsaw <barry@python.org> writes:
Most enums (at least IME) are discrete objects that don't have a natural ordering.
+1. This is an important property of an enumerated type, IMO. The fact that ‘bool’ disagrees (‘False < True’) is an artifact of its history, and is not relevant for an argument for orderable EnumValues. -- \ “A thing moderately good is not so good as it ought to be. | `\ Moderation in temper is always a virtue; but moderation in | _o__) principle is always a vice.” —Thomas Paine | Ben Finney