[issue5812] Fraction('1e6') should be valid.

Mark Dickinson report at bugs.python.org
Fri Apr 24 16:09:20 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Applied in r71832 (trunk), r71834 (py3k).

One nice aspect of this change is that "Fraction(a, b)" is now
a safe alternative to "a/b" in places where a and b might be
either Fractions or integers.

----------
resolution:  -> accepted
stage: patch review -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5812>
_______________________________________


More information about the Python-bugs-list mailing list