A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-March/087048.html below:

[Python-Dev] Deprecated __cmp__ and total ordering

[Python-Dev] Deprecated __cmp__ and total ordering [Python-Dev] Deprecated __cmp__ and total orderingRaymond Hettinger python at rcn.com
Wed Mar 11 03:29:30 CET 2009
[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 

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4