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/2008-February/076845.html below:

[Python-Dev] Mutable sequence .sort() signature

[Python-Dev] Mutable sequence .sort() signature [Python-Dev] Mutable sequence .sort() signatureDaniel Stutzbach daniel at stutzbachenterprises.com
Wed Feb 13 21:09:57 CET 2008
On Feb 12, 2008 8:39 PM, Kurt B. Kaiser <kbk at shore.net> wrote:

> I'd say in PEP3100.  Here's a patch:
>
> http://bugs.python.org/issue2092
>

The suggested patch does not actually point to any discussion or rationale
for why this change was made; it just contains a pointer to this thread
(which is not very useful).  So, while I hate to open a can of worms: but
what's the rationale here?

Without the cmp argument, what's the concise way to spell something like
"sort a list of floats by absolute value"?  It'd be nice to have a stock
example to help users rewrite their code to work with 3.0.

-- 
Daniel Stutzbach, Ph.D.             President, Stutzbach Enterprises LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20080213/6a1f3c16/attachment-0001.htm 
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