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

Mark Dickinson report at bugs.python.org
Sun May 30 12:11:33 CEST 2010


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

D'oh (again!)

[Mark]
> Really the coercion for complex types should have been removed at some
> point in the 2.x series

which of course, it was, in issue 5211.  And we should have caught the richcompare coercion in that issue.  So I apologise:  getting rid of the PyNumber_CoerceEx call was the right thing to do---we should have already done that in issue 5211.

----------

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


More information about the Python-bugs-list mailing list