Message167284
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) |
|
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 | |
|