[issue29602] complex() on object with __complex__ function loses sign of zero imaginary part
Mark Dickinson
report at bugs.python.org
Mon Feb 20 06:13:02 EST 2017
Mark Dickinson added the comment:
Confirmed on my machine. The effect of the source is to do `complex(complex(x), 0.0)` in this case, which isn't correct.
----------
components: +Interpreter Core
stage: -> needs patch
versions: +Python 3.5, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29602>
_______________________________________
More information about the Python-bugs-list
mailing list