Re: [Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library

2013年4月12日 08:16:25 -0700

On Apr 12, 2013, at 10:23 AM, R. David Murray wrote:
>I think either the iteration order should be undefined (like a set
>or dict), or the comparison operations should work. I'd prefer
>the latter, because of the use case I outlined.
Order (both iteration and comparison) is officially undefined for Enums but
defined for IntEnums.
-Barry
_______________________________________________
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