[docs] [issue10912] PyObject_RichCompare differs in behaviour from PyObject_RichCompareBool ; difference not noted in documentation

Nick Coghlan report at bugs.python.org
Sat Jan 15 15:32:49 CET 2011

Nick Coghlan <ncoghlan at gmail.com> added the comment:

For the record, the gory details as to *why* RichCompareBool makes more assumptions as to the meaning of equality than the basic RichCompare function can be found in issue 4296 (I just found that issue myself by looking at Mark's response to the python-list thread).

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

nosy: +mark.dickinson

Python tracker <report at bugs.python.org>

More information about the docs mailing list