[Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as
Stefan Krah
stefan at bytereef.org
Sat Feb 23 16:02:31 CET 2013
eli.bendersky <python-checkins at 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.
Actually all I want from a Python enum is to be like a C enum with symbolic
representations for the values.
Stefan Krah
More information about the Python-Dev
mailing list