diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-01-12 01:56:00 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-01-12 01:56:00 (GMT) |
commit | 59bc20bb273055e2cd48a467524d21340c1771cc (patch) | |
tree | 5c56af6a822827d080e136a8f9ee819ee589d4af /Misc | |
parent | bed4dd459ddebec5bf43ef8c658ed4a194b518cb (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |