Message167284
| Author |
steven.daprano |
| Recipients |
steven.daprano |
| Date |
2012年08月03日.02:54:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1343962443.78.0.878505736017.issue15544@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
math.nan fails on some Decimal NANs. For example, while this works:
>>> import math
>>> from decimal import Decimal
>>> math.isnan(Decimal('nan'))
True
These both fail with ValueError:
math.isnan(Decimal('snan'))
math.isnan(Decimal('nan123'))
(Tested on Python 3.2 and 3.3.0a1) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月03日 02:54:03 | steven.daprano | set | recipients:
+ steven.daprano |
| 2012年08月03日 02:54:03 | steven.daprano | set | messageid: <1343962443.78.0.878505736017.issue15544@psf.upfronthosting.co.za> |
| 2012年08月03日 02:54:03 | steven.daprano | link | issue15544 messages |
| 2012年08月03日 02:54:02 | steven.daprano | create |
|