[Michael Foord]
> Is there something you don't like about this one:
http://code.activestate.com/recipes/576529/
[Mart Sõmermaa ]
Yes -- it is not in the standard library. As I said, eventually all the 15,000
matches
on Google Code need to update their code and copy that snippet to their
util/, write tests for it etc.
FWIW, my version is http://code.activestate.com/recipes/576685/
If you want to push for inclusion in the standard library, I would support
your effort. The basic idea isn't controversial, but there probably would
be a lengthy discussion on what to call it (total_ordering is one possibilty)
and where to put it (functools is a possibility).
Raymond
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com