metaclasses for type comparison

David Eppstein eppstein at
Thu Sep 11 23:11:41 CEST 2003

In article <q6o1mv0tt1lgnhmmcvig9926rmuimc60he at>,
 Gon?alo Rodrigues <op73418 at> wrote:

> ><= is supposed to be a total ordering, so it is not a good idea to use 
> >it for partial orders such as subclass hierarchies.
> Is it?  I never came across such a supposition, which in itself says
> nothing because I have very little experience anyway, but what about
> set inclusion in the sets module which can be written as <=?

I don't have 2.3 yet, so haven't used sets yet, but what happens if you 
try to sort a list of sets?

I found a message 
tml> from Guido wondering about this but didn't see what the response 

David Eppstein            
Univ. of California, Irvine, School of Information & Computer Science

More information about the Python-list mailing list