summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-03 15:51:03 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-03 15:51:03 (GMT)
commit089b00cbc3006fa60fe71f64341e38b83cc4498d (patch)
tree36a8545afe8a30eef4e51d5a93c6a1b2a2996bdf
parent2266f3db40b867475d5703acdd0d30b2e31c65d3 (diff)
downloadcpython-089b00cbc3006fa60fe71f64341e38b83cc4498d.zip
cpython-089b00cbc3006fa60fe71f64341e38b83cc4498d.tar.gz
cpython-089b00cbc3006fa60fe71f64341e38b83cc4498d.tar.bz2
Merged revisions 79699 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79699 | mark.dickinson | 2010-04-03 16:47:46 +0100 (Sat, 03 Apr 2010) | 1 line Add Misc/NEWS entry for r79609. ........
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d006b6f..a1465d7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -301,6 +301,12 @@ C-API
Library
-------
+- Issue #8257: The Decimal construct now accepts a float instance
+ directly, converting that float to a Decimal of equal value:
+
+ >>> Decimal(1.1)
+ Decimal('1.100000000000000088817841970012523233890533447265625')
+
- Issue #8294: The Fraction constructor now accepts Decimal and float
instances directly.