From 089b00cbc3006fa60fe71f64341e38b83cc4498d Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 3 Apr 2010 15:51:03 +0000 Subject: 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. ........ --- Misc/NEWS | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- cgit v0.12