homepage

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 georg.brandl, terry.reedy
Date 2008年11月20日.22:48:46
SpamBayes Score 0.0009823424
Marked as misclassified No
Message-id <1227221327.85.0.608850654298.issue4372@psf.upfronthosting.co.za>
In-reply-to
Content
What's New in Python 3.0/Common stumbling blocks
has this "builtin.sorted() and list.sort() no longer accept the cmp
argument providing a comparison function. Use the key argument instead."
Please add "The __cmp__ special method is no longer used for
comparisons. Use __lt__ for sorting, __eq__ with __hash__, and other
rich comparisons as needed."
People are already stumbling on this.
History
Date User Action Args
2008年11月20日 22:48:47terry.reedysetrecipients: + terry.reedy, georg.brandl
2008年11月20日 22:48:47terry.reedysetmessageid: <1227221327.85.0.608850654298.issue4372@psf.upfronthosting.co.za>
2008年11月20日 22:48:47terry.reedylinkissue4372 messages
2008年11月20日 22:48:46terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /