[Python-checkins] r79699 - python/trunk/Misc/NEWS

mark.dickinson python-checkins at python.org
Sat Apr 3 17:47:46 CEST 2010


Author: mark.dickinson
Date: Sat Apr  3 17:47:46 2010
New Revision: 79699

Log:
Add Misc/NEWS entry for r79609.

Modified:
   python/trunk/Misc/NEWS

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sat Apr  3 17:47:46 2010
@@ -47,6 +47,12 @@
 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


More information about the Python-checkins mailing list