[Python-ideas] Counter comparison

Guido van Rossum guido at python.org
Mon Nov 24 19:11:10 CET 2014


On Mon, Nov 24, 2014 at 9:37 AM, <random832 at fastmail.us> wrote:

> 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.
>

I assume you want a topological sort. But isn't that topic by itself a
useful math lesson?

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141124/b3130b04/attachment-0001.html>


More information about the Python-ideas mailing list