This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients docs@python, rhettinger, terry.reedy
Date 2011-03-30.00:15:19
SpamBayes Score 1.905501e-07
Marked as misclassified No
Message-id <1301444121.31.0.845299514982.issue11712@psf.upfronthosting.co.za>
In-reply-to
Content
The 2.7 doc actually says that the two arguments to cmp are list items, rather than list items or keys "cmp specifies a custom comparison function of two arguments (list items)". And this "In general, the key and reverse conversion processes are much faster than specifying an equivalent cmp function." sort of suggests one or the other (but not both). That said, given the absence of overt problems, I agree with 
> We may be doing them a disservice by suggesting otherwise.
History
Date User Action Args
2011-03-30 00:15:21terry.reedysetrecipients: + terry.reedy, rhettinger, docs@python
2011-03-30 00:15:21terry.reedysetmessageid: <1301444121.31.0.845299514982.issue11712@psf.upfronthosting.co.za>
2011-03-30 00:15:20terry.reedylinkissue11712 messages
2011-03-30 00:15:19terry.reedycreate