Martin v. Löwis: > The easiest way to produce a maximum object is > > class Max: > def __cmp__(self, other): > return 1 Shouldn't there also be a def __rcmp__(self, other): return -1 ? Andrew dalke at dalkescientific.com