summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-04-22 17:50:21 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-04-22 17:50:21 (GMT)
commitcf63f2fb88826ae67843b8574bca6ef25c2e791f (patch)
tree81dbf873651fdd3f9a2dcabd3c291d9911aad609 /Misc/NEWS
parent937491d1a9a327a782f3717fd1a0d4d9ad8fdc36 (diff)
downloadcpython-cf63f2fb88826ae67843b8574bca6ef25c2e791f.zip
cpython-cf63f2fb88826ae67843b8574bca6ef25c2e791f.tar.gz
cpython-cf63f2fb88826ae67843b8574bca6ef25c2e791f.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index cc70d78..c69672f0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -75,6 +75,10 @@ Core and Builtins
Library
-------
+- Issue #5812: Fraction('1e6') is valid: more generally, any string
+ that's valid for float() is now valid for Fraction(), with the
+ exception of strings representing NaNs and infinities.
+
- Issue #5734: BufferedRWPair was poorly tested and had several glaring
bugs. Patch by Brian Quinlan.