max(), sum(), next()

Boris Borcic bborcic at gmail.com
Mon Sep 8 15:54:19 CEST 2008


David C. Ullrich wrote:
> 
> (ii) If A is a subset of B then we should have
> max(A) <= max(B). This requires that max(empty set)
> be something that's smaller than everything else.
> So we give up on that.
> 

Er, what about instances of variations/elaborations on

class Smaller(object) : __cmp__ = lambda *_ : -1

?

Cheers, BB




More information about the Python-list mailing list