[Python-ideas] Counter comparison

random832 at fastmail.us random832 at fastmail.us
Mon Nov 24 18:37:39 CET 2014


On Mon, Nov 24, 2014, at 10:43, Guido van Rossum wrote:
> But does it matter? If you've got a list of sets, and you want it sorted,
> you have to specify how you want it sorted anyways. You can complain that
> <
> is only a partial order, but that is the mathematical root of the
> situation, not a problem caused by an poorly chosen language default.
> (Leaving < undefined and sorting by object address, now *that* would be
> an
> example of the latter. :-)

You seem to be suggesting that sorting a list of partially ordered items
is not a meaningful thing to ask for, rather than merely not being
implemented by the list.sort method.


More information about the Python-ideas mailing list