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 rhettinger
Recipients gpery, rhettinger, xtreak
Date 2019-06-11.15:35:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560267303.11.0.450450352504.issue37229@roundup.psfhosted.org>
In-reply-to
Content
Sorry, but we've intentionally removed generic compare functions in favor of objects supporting __lt__.  That is now the one-way-to-do-it.  If needed for convenience, you can use functools.cmp_to_key to automatically build a wrapper.
History
Date User Action Args
2019-06-11 15:35:03rhettingersetrecipients: + rhettinger, xtreak, gpery
2019-06-11 15:35:03rhettingersetmessageid: <1560267303.11.0.450450352504.issue37229@roundup.psfhosted.org>
2019-06-11 15:35:03rhettingerlinkissue37229 messages
2019-06-11 15:35:03rhettingercreate