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.
Created on 2008年11月20日 22:48 by terry.reedy, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg76147 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2008年11月20日 22:48 | |
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. |
|||
| msg76183 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2008年11月21日 14:16 | |
Duplicate issue: see #2306. Anyway, an you write a patch? |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:41 | admin | set | github: 48622 |
| 2008年11月21日 14:16:15 | vstinner | set | messages: - msg76181 |
| 2008年11月21日 14:16:11 | vstinner | set | messages: + msg76183 |
| 2008年11月21日 14:12:19 | vstinner | set | status: open -> closed nosy: + vstinner resolution: duplicate messages: + msg76181 |
| 2008年11月20日 22:48:47 | terry.reedy | create | |