Mark Dickinson added the comment:

> Should inf and nan be added to cmath too?

Hmm; probably, yes.  I'll open an issue.

> so the point could be made that there should be a constant named complex.nanj

Yes, I suppose it could (along with infj, of course).  I don't like it much, 
and I suspect it would get almost no uses.  complex(0, inf) and complex(0, nan) 
seem like good enough spellings.

----------

_______________________________________
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