New submission from Terry J. Reedy <[EMAIL PROTECTED]>: 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. ---------- assignee: georg.brandl components: Documentation messages: 76147 nosy: georg.brandl, tjreedy severity: normal status: open title: __cmp__ removal not in What's New versions: Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4372> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com