[issue1513] object.c do_compare comparison ordering error

Guido van Rossum report at bugs.python.org
Wed Nov 28 19:05:07 CET 2007


Guido van Rossum added the comment:

This is not a bug.  There's not much point is supporting cmp(None, None)
when cmp(None, <anything else>) would still fail.  cmp() should only be
used when you know that the arguments belong to an orderable type.

----------
resolution:  -> rejected
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1513>
__________________________________


More information about the Python-bugs-list mailing list