[issue8748] integer-to-complex comparisons give incorrect results

Mark Dickinson report at bugs.python.org
Sat May 29 22:41:25 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

> Given the complexities and subtleties of how comparison works in 2.7
> I am a little hesitant to commit this change as well.

Understood.  Given how long we've lived with this behaviour in 2.x with no serious ill effects, it's very tempting to call this a "won't fix" for 2.7.  Really the coercion for complex types should have been removed at some point in the 2.x series, but it's too late for that now.

I'll take a look at the patch, though.

----------

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


More information about the Python-bugs-list mailing list