On Sat, 23 Feb 2013 16:02:31 +0100 Stefan Krah <ste...@bytereef.org> wrote: > eli.bendersky <python-check...@python.org> wrote: > > +Ordered comparisons between enumeration values are *not* supported. Enums > > are > > +not integers! > > Hmm. I think this limits interoperation with C libraries and prototyping > C code.
Agreed, this is a deal-breaker IMO. I'd actually argue that enums are not terribly useful apart from interacting with C constants. Regards Antoine. _______________________________________________ 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