summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-01-12 01:56:00 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-01-12 01:56:00 (GMT)
commit59bc20bb273055e2cd48a467524d21340c1771cc (patch)
tree5c56af6a822827d080e136a8f9ee819ee589d4af /Misc
parentbed4dd459ddebec5bf43ef8c658ed4a194b518cb (diff)
downloadcpython-59bc20bb273055e2cd48a467524d21340c1771cc.zip
cpython-59bc20bb273055e2cd48a467524d21340c1771cc.tar.gz
cpython-59bc20bb273055e2cd48a467524d21340c1771cc.tar.bz2
Issue 1780: Allow leading and trailing whitespace in Decimal constructor,
when constructing from a string. Disallow trailing newlines in Context.create_decimal.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e625c3c..51d2731 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -351,6 +351,10 @@ Core and builtins
Library
-------
+- Issue #1780: The Decimal constructor now accepts arbitrary leading
+ and trailing whitespace when constructing from a string.
+ Context.create_decimal no longer accepts trailing newlines.
+
- Decimal.as_tuple(), difflib.find_longest_match() and inspect functions
that returned a tuple now return a named tuple.