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 eli.bendersky
Recipients docs@python, eli.bendersky, georg.brandl, mark.dickinson, ncoghlan, terry.reedy
Date 2011-01-15.14:37:00
SpamBayes Score 0.0015806989
Marked as misclassified No
Message-id <1295102228.06.0.894522784472.issue10912@psf.upfronthosting.co.za>
In-reply-to
Content
Nick, I read the protocol of issue 4296 and I understand the reasoning behind the code, but I still think the naming is mightily confusing. Two distinct changes went into a single function (A) Return -1/0/+1 instead of PyObject and (B) the id() shortcut, and its name is inappropriate. Were an API change feasible, some other naming would be better.

> "It may be worth explicitly pointing out that use cases where this assumption is unacceptable would be better served by direct invocation RichCompare function."

Do you mean write it down in the docs?
History
Date User Action Args
2011-01-15 14:37:08eli.benderskysetrecipients: + eli.bendersky, georg.brandl, terry.reedy, mark.dickinson, ncoghlan, docs@python
2011-01-15 14:37:08eli.benderskysetmessageid: <1295102228.06.0.894522784472.issue10912@psf.upfronthosting.co.za>
2011-01-15 14:37:00eli.benderskylinkissue10912 messages
2011-01-15 14:37:00eli.benderskycreate