Message102149
Raymond, do you want this to go into 2.7 as well? I'm assuming that we're not going to allow mixed-type float+decimal operations in 2.7.
Also, if we're doing this, it seems to me that all the reasons you give for the Decimal constructor accepting floats also apply to the Fraction constructor.
The patch looks fine to me. The new testcase is specific to IEEE 754 binary64 floating-point format, so I'll slap a 'requires_IEEE_754' decorator on it (copying the definition from test_math.py), if that's okay. |
|
Date |
User |
Action |
Args |
2010-04-02 09:17:16 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, eric.smith, eric.araujo |
2010-04-02 09:17:16 | mark.dickinson | set | messageid: <1270199836.48.0.918975039114.issue8257@psf.upfronthosting.co.za> |
2010-04-02 09:17:15 | mark.dickinson | link | issue8257 messages |
2010-04-02 09:17:15 | mark.dickinson | create | |
|