[issue23229] add inf, nan, infj, nanj to cmath module

Mark Dickinson report at bugs.python.org
Tue Jan 13 18:31:36 CET 2015


Mark Dickinson added the comment:

> Another solution would be to change repr() of complex if imaginary
> component is not finite number to the form complex(x, y).

That wouldn't help with the str(), though, unless you're proposing to change that, too.

----------

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


More information about the Python-bugs-list mailing list