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