Mark Dickinson <dicki...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8257>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to