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

Eli Bendersky report at bugs.python.org
Sat Jan 15 10:00:41 CET 2011


Eli Bendersky <eliben at gmail.com> added the comment:

I agree that the difference in behavior between the two functions is unfortunate, but that's unlikely to change now.

The least we can do is make the documentation precise. I'm attaching a proposed patch to Doc/c-api/object.rst

Nick/Terry/Georg - if this looks OK I can commit.

----------
keywords: +easy, patch
nosy: +eli.bendersky, ncoghlan, terry.reedy -Devin Jeanpierre
type:  -> behavior
Added file: http://bugs.python.org/file20413/issue10912.py3k.1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10912>
_______________________________________


More information about the Python-bugs-list mailing list