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

2013年2月26日 07:16:58 -0800

On 2/25/2013 2:48 PM, Antoine Pitrou wrote:
On 2013年2月25日 11:34:35 -0800
Ethan Furman <[email protected]> wrote:
Antoine, question for you:
Do you think enums from different groupings should compare equal?
Equality should be mostly transitive so, yes, I think they should.
Or if they do not, then they should neither compare equal to ints. One or the other, take your pick, or make both choices available.
--
Terry Jan Reedy
_______________________________________________
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