summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-03-25 18:47:59 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-03-25 18:47:59 (GMT)
commit8e85ffa4b213be809109180142a107a1ac66f4d5 (patch)
treebe8be758b90490e46c83c0f0d4bbf49536bd0de2 /Misc
parentcdde579fb9d3ccadff3f3e334d59b26aa74941f0 (diff)
downloadcpython-8e85ffa4b213be809109180142a107a1ac66f4d5.zip
cpython-8e85ffa4b213be809109180142a107a1ac66f4d5.tar.gz
cpython-8e85ffa4b213be809109180142a107a1ac66f4d5.tar.bz2
Issue #2482: Make sure that the coefficient of a Decimal
instance is always stored as a str instance, even when that Decimal has been created from a unicode string.
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 65815f7..9c3193d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -72,6 +72,10 @@ Extensions Modules
Library
-------
+- Issue #2482: Make sure that the coefficient of a Decimal is always
+ stored as a str instance, not as a unicode instance. This ensures
+ that str(Decimal) is always an instance of str.
+
- Issue #2478: fix failure of decimal.Decimal(0).sqrt()
- Issue #2432: give DictReader the dialect and line_num attributes