Mark Dickinson <dicki...@gmail.com> added the comment:

I agree this should be fixed.  The conversion to float in the else 
clause seems wrong to me: it can lose precision, making two unequal 
values compare equal.  I also agree that we should be getting 
NotImplemented here.

Do you have a patch available?

As an aside, I'm interested that you're implementing comparisons between 
mpf and Decimal;  how does that work?  Do you also implement binary 
arithmetic operations between mpf and Decimal?  What's the result type?

----------
nosy: +jyasskin, marketdickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6431>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to