[issue36117] Allow rich comparisons for real-valued complex objects.

Serhiy Storchaka report at bugs.python.org
Tue Feb 26 03:21:14 EST 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I don't think we should do this. In numerical computation we should not depend on exact floating point values, because is affected by computation errors. It would be hard to debug the program when some complex numbers are orderable, but other are not, and the difference between formers and latters is insignificant.

----------
nosy: +mark.dickinson, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36117>
_______________________________________


More information about the Python-bugs-list mailing list