]> granicus.if.org Git - python/commit
Issue #5812: Make Fraction('1e6') valid. The Fraction constructor now
authorMark Dickinson <dickinsm@gmail.com>
Wed, 22 Apr 2009 17:50:21 +0000 (17:50 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 22 Apr 2009 17:50:21 +0000 (17:50 +0000)
commitcf63f2fb88826ae67843b8574bca6ef25c2e791f
tree81dbf873651fdd3f9a2dcabd3c291d9911aad609
parent937491d1a9a327a782f3717fd1a0d4d9ad8fdc36
Issue #5812: Make Fraction('1e6') valid.  The Fraction constructor now
accepts all strings accepted by the float and Decimal constructors,
with the exception of strings representing NaNs or infinities.
Doc/library/fractions.rst
Lib/fractions.py
Lib/test/test_fractions.py
Misc/NEWS