[issue3285] Fraction.from_any()

2008-07-10 Thread Raymond Hettinger
Raymond Hettinger [EMAIL PROTECTED] added the comment: Adopted the solution used by functions in the math module. Functions that accept floats also accept integral inputs. This improves usability in face of mixed float/int data or decimal/int data. See r64846. -- resolution: -

[issue3285] Fraction.from_any()

2008-07-04 Thread Raymond Hettinger
New submission from Raymond Hettinger [EMAIL PROTECTED]: After exercising the fractions module, I've found it problematic that there isn't a unified constructor to handle mixed data input types. For example, when updating the accurate summation recipe at