diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-04-22 17:50:21 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-04-22 17:50:21 (GMT) |
commit | cf63f2fb88826ae67843b8574bca6ef25c2e791f (patch) | |
tree | 81dbf873651fdd3f9a2dcabd3c291d9911aad609 /Misc/NEWS | |
parent | 937491d1a9a327a782f3717fd1a0d4d9ad8fdc36 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |