[issue2342] Comparing between disparate types should raise a Py3K warning

Steven Bethard report at bugs.python.org
Tue Mar 18 02:06:59 CET 2008


Steven Bethard <steven.bethard at gmail.com> added the comment:

The code is only invoked when NotImplemented is produced. Take a look at
the attached patch to try_3way_to_rich_compare and see if you think it's
going to be too expensive.

----------
keywords: +patch
Added file: http://bugs.python.org/file9712/object_compare.patch

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


More information about the Python-bugs-list mailing list