Message233950
| Author |
gvanrossum |
| Recipients |
gvanrossum, mark.dickinson, serhiy.storchaka, vstinner |
| Date |
2015年01月13日.16:53:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAP7+vJJp45d39UO=cPeQ7Q0PbCH8KGN2wgFn3CcvLH8C85oexg@mail.gmail.com> |
| In-reply-to |
<CAP7+vJKjDzaX01MgCwCU8oVCN_LpRhFiwu2b-wcyb1JFh7Cp8g@mail.gmail.com> |
| Content |
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.
On Tue, Jan 13, 2015 at 8:46 AM, Guido van Rossum <report@bugs.python.org>
wrote:
>
> Guido van Rossum added the comment:
>
> > Note: following the precedent of cmath.e and cmath.pi, cmath.nan and
> cmath.inf should have type *float*. Let's not get into the business of
> deciding *which* complex infinities and nans to represent.
>
> Agreed.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue23229>
> _______________________________________
> |
|