summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-09-08 20:20:19 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-09-08 20:20:19 (GMT)
commit5cfa8044ff9fd26dc4915fc2ce5b2d005eea3261 (patch)
treed9e4c236a0ed095d02491c6a49df1fa239f0f79d /Misc
parent81809a42c1639ab6f49900eea15808bf71c6e567 (diff)
downloadcpython-5cfa8044ff9fd26dc4915fc2ce5b2d005eea3261.zip
cpython-5cfa8044ff9fd26dc4915fc2ce5b2d005eea3261.tar.gz
cpython-5cfa8044ff9fd26dc4915fc2ce5b2d005eea3261.tar.bz2
Issue #6857: Fix Decimal formatting to be consistent with existing float
formatting: both are now right-aligned by default.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index daea539..3c1c54e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -366,6 +366,9 @@ Core and Builtins
Library
-------
+- Issue #6857: Default format() alignment should be '>' for Decimal
+ instances.
+
- Issue #6795: int(Decimal('nan')) now raises ValueError instead of
returning NaN or raising InvalidContext. Also, fix infinite recursion
in long(Decimal('nan')).