Re: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as

2013年2月23日 07:12:26 -0800

On 2013年2月23日 16:02:31 +0100
Stefan Krah <[email protected]> wrote:
> eli.bendersky <[email protected]> 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
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to