diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-09-08 20:20:19 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-09-08 20:20:19 (GMT) |
commit | 5cfa8044ff9fd26dc4915fc2ce5b2d005eea3261 (patch) | |
tree | d9e4c236a0ed095d02491c6a49df1fa239f0f79d /Misc | |
parent | 81809a42c1639ab6f49900eea15808bf71c6e567 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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')). |