[Python-ideas] cmp and sorting non-symmetric types

Guido van Rossum guido at python.org
Wed Nov 14 19:54:31 CET 2007


On Nov 14, 2007 10:47 AM, Adam Olsen <rhamph at gmail.com> wrote:
> On Nov 14, 2007 10:54 AM, Guido van Rossum <guido at python.org> wrote:
> > Are you sure you're solving a real problem?
>
> I see it as part of a problem we've already decided to solve, by
> making types with no reasonable ordering raise TypeError.

I think we're reaching the land of diminishing returns though.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-ideas mailing list