Guido van Rossum added the comment:

Should inf and nan be added to cmath too?  It has e and pi and isnan() and 
isinf()...

Also complex(0, math.nan) a value that is printed as "nanj" and complex("nanj") 
parses and returns such a value, so the point could be made that there should 
be a constant named complex.nanj.

----------
nosy: +gvanrossum

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

Reply via email to