[Python-Dev] Re: Re: lists v. tuples
Andrew Koenig
ark@research.att.com
Mon, 17 Mar 2003 18:34:02 -0500 (EST)
Mon, 17 Mar 2003 18:34:02 -0500 (EST)
- Previous message: [Python-Dev] Re: Re: lists v. tuples
- Next message: [Python-Dev] Re: Re: lists v. tuples
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido> This seems an argument for keeping both __cmp__ and the six __lt__ Guido> etc. Yet TOOWTDI makes me want to get rid of __cmp__. I'm beginning to wonder if part of what's going on is that there are really two different concepts that go under the general label of "comparison", namely the cases where trichotomy does and does not apply. In the first case, we have a total ordering; in the second, we have what C++ calls a "strict weak ordering", which is really an ordering of equivalence classes.
- Previous message: [Python-Dev] Re: Re: lists v. tuples
- Next message: [Python-Dev] Re: Re: lists v. tuples
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]