[Python-checkins] r79701 - in python/branches/py3k: Misc/NEWS

mark.dickinson python-checkins at python.org
Sat Apr 3 17:51:03 CEST 2010


Author: mark.dickinson
Date: Sat Apr  3 17:51:03 2010
New Revision: 79701

Log:
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.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Sat Apr  3 17:51:03 2010
@@ -301,6 +301,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')
+
 - Issue #8294: The Fraction constructor now accepts Decimal and float
   instances directly.
 


More information about the Python-checkins mailing list