Message159952
| Author |
serhiy.storchaka |
| Recipients |
mark.dickinson, serhiy.storchaka, skrah |
| Date |
2012年05月04日.17:56:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1336154314.2329.57.camel@raxxla> |
| In-reply-to |
<1336143001.99.0.907372219017.issue14722@psf.upfronthosting.co.za> |
| Content |
I also thought about ±∞. But PyLong_AsDouble() raises OverflowError for
out-of-range value. And it checks strictly out of ±DBL_MAX.
Because float(10**1000) returns no float('inf'), but raises an
exception, I think that returning ±∞ will be wrong. |
|