Serhiy Storchaka added the comment:

> Note, the reason I proposed nanj (and infj) is that these are produced by
> repr() of complex numbers. Having them in the cmath module provides a place
> to document them which will then be searchable.

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

----------

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

Reply via email to