A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-February/124336.html below:

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

[Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, asTerry Reedy tjreedy at udel.edu
Tue Feb 26 16:09:20 CET 2013
On 2/25/2013 2:48 PM, Antoine Pitrou wrote:
> On Mon, 25 Feb 2013 11:34:35 -0800
> Ethan Furman <ethan at stoneleaf.us> 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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4