Message167293
Yep, Decimal.__float__ isn't too sophisticated. Probably it should convert all Decimal quiet NaNs (at least) to float NaNs, keeping the sign if possible but discarding any payload.
Not so sure about signaling NaNs, though; I think it would be fine for those to continue to raise ValueError (on the basis that doing pretty much anything with a signaling NaN should give an exception). |
|
Date |
User |
Action |
Args |
2012-08-03 07:06:16 | mark.dickinson | set | recipients:
+ mark.dickinson, steven.daprano, skrah |
2012-08-03 07:06:16 | mark.dickinson | set | messageid: <1343977576.73.0.142770280543.issue15544@psf.upfronthosting.co.za> |
2012-08-03 07:06:16 | mark.dickinson | link | issue15544 messages |
2012-08-03 07:06:15 | mark.dickinson | create | |
|