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

Mark Dickinson report at bugs.python.org
Tue Jan 13 10:39:41 CET 2015


Mark Dickinson added the comment:

@haypo: I'm not keen on either of infj or nanj, on a YAGNI basis.  I expect they'd be used almost never, and for the few times that they're really needed, complex(0, inf) and complex(0, nan) seem like good enough spellings.

----------

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


More information about the Python-bugs-list mailing list