Message79084
> Do you think it would be worth replacing the two uses of
> conditional expressions in Decimal.from_float with if-else
> statements?
Yes, please.
> Of course, from_float still won't work with earlier versions
> of Python, but having one Decimal method unavailable seems
> like a lesser crime than making 'import decimal' fail.
Right. I don't see an easy way around that short of having
a conditional compilation, allowing use of alternative slow
code multiplying the float repeatedly by two to build-up
the float digits. |
|
Date |
User |
Action |
Args |
2009-01-04 20:20:16 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson, steven.daprano |
2009-01-04 20:20:15 | rhettinger | set | messageid: <1231100415.81.0.261111907606.issue4796@psf.upfronthosting.co.za> |
2009-01-04 20:20:15 | rhettinger | link | issue4796 messages |
2009-01-04 20:20:14 | rhettinger | create | |
|