[issue5812] Fraction('1e6') should be valid.
report at bugs.python.org
Wed Apr 22 14:00:29 CEST 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
> Also, it would be nice if the Fraction constructor accepted both a
> numerator and denominator that we also fractions.
This makes sense to me. It reminds me of the way that complex(real,
imag) allows real and imag to be complex numbers, and does the 'right
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list