From 8a95071fc1ef3dabb0b0f090f09749a12ef6b620 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sat, 3 Apr 2010 15:47:46 +0000 Subject: Add Misc/NEWS entry for r79609. --- Misc/NEWS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index 1f715b9..e942fb7 100644 --- 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 -- cgit v0.12