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/076818.html below:

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

[Python-Dev] Mutable sequence .sort() signature [Python-Dev] Mutable sequence .sort() signatureRaymond Hettinger python at rcn.com
Wed Feb 13 00:23:50 CET 2008
[Kurt]
> Looking at the various py3k docs and mail lists, etc. I just can't
> find the specification and discussion of the signature change 
> eliminating the comparison function (so far)!

There is a note Misc/NEWS and I believe the 2-to-3 folks are looking
at a conversion. The Py3.0 docs have the new signature (same as
the old one but it no longer accepts a cmp function and to prevent
accidents keyword arguments are required). I'm not sure where else
to document it.

> Does it come up in -3 warnings?

It doesn't, but it wouldn't be hard to add one.


Raymond
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