]> granicus.if.org Git - python/commitdiff
Add Misc/NEWS entry for r79609.
authorMark Dickinson <dickinsm@gmail.com>
Sat, 3 Apr 2010 15:47:46 +0000 (15:47 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 3 Apr 2010 15:47:46 +0000 (15:47 +0000)
Misc/NEWS

index 1f715b986aee79b3bdc96f6c52d512314b5c78b4..e942fb70c3b68bb5adc1c66c0a900681edd3075a 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -47,6 +47,12 @@ Core and Builtins
 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')
+
 - collections.Counter() now supports a subtract() method.
 
 - Issue #8294: The Fraction constructor now accepts Decimal and float