Changes by Raymond Hettinger [EMAIL PROTECTED]:
--
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2354
__
___
Python-bugs-list mailing list
Jeff Balogh [EMAIL PROTECTED] added the comment:
Fixing the compare to raise the warning when cmp != NULL, and adding a
test
--
keywords: +patch
nosy: +jeff.balogh
Added file: http://bugs.python.org/file9769/sort-cmp.diff
__
Tracker [EMAIL PROTECTED]
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Doh!
Fixed in r61632
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2354
__
___
Python-bugs-list mailing list
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Collin, is there some place where I should write-up how to transition
sort cmp functions?
Often, it is straight-forward to write a simpler key function, but
sometimes it isn't obvious how to proceed (i.e. cases that have an
ascending
Collin Winter [EMAIL PROTECTED] added the comment:
There's currently no central repository that I know of. We should have
an informational PEP on the subject; would you like to start one with
sort/sorted keys as the seed? I've got some notes I can contribute, and
I'd like to milk Guido for his
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Checked-in r61576
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2354
__
New submission from Brett Cannon [EMAIL PROTECTED]:
The cmp argument for list.sort() and sorted() should raise a Py3K warning.
--
keywords: 26backport
messages: 63725
nosy: brett.cannon
priority: immediate
severity: normal
status: open
title: cmp argument to list.sort()/sorted() should
Raymond Hettinger [EMAIL PROTECTED] added the comment:
I've got this one.
--
assignee: - rhettinger
nosy: +rhettinger
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2354
__
Changes by Brett Cannon [EMAIL PROTECTED]:
--
priority: immediate - urgent
versions: +Python 2.6
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2354
__
___