[Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as (original) (raw)
Stefan Krah stefan at bytereef.org
Sat Feb 23 16:02:31 CET 2013
- Previous message: [Python-Dev] [Python-checkins] peps: PEP 426: replace implied 'version starts with' with new ~= operator
- Next message: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] [Python-checkins] peps: PEP 426: replace implied 'version starts with' with new ~= operator
- Next message: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]