[Python-Dev] Mutable sequence .sort() signature
Guido van Rossum
guido at python.org
Wed Feb 13 04:36:51 CET 2008
Also, pretty prominent, in the what's new in 3.0 doc.
On Feb 12, 2008 6:39 PM, Kurt B. Kaiser <kbk at shore.net> wrote:
> Raymond Hettinger <python at rcn.com> writes:
> > [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).
> Yes, I see you changed those docs. But I think we need to give better
> notice that this is one of the py3k incompatibilities.
> > I'm not sure where else to document it.
> I'd say in PEP3100. Here's a patch:
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev