summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-09-07 18:08:12 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-09-07 18:08:12 (GMT)
commit825fce34b1a060a43f9cb7244c1b0062e26af745 (patch)
tree542a53ff11825368b917504b7cabd1cdbc1a73b4 /Misc/NEWS
parent7718d2bfb040efb63f5fa90691efb295ef962cb2 (diff)
downloadcpython-825fce34b1a060a43f9cb7244c1b0062e26af745.zip
cpython-825fce34b1a060a43f9cb7244c1b0062e26af745.tar.gz
cpython-825fce34b1a060a43f9cb7244c1b0062e26af745.tar.bz2
Merged revisions 74708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74708 | mark.dickinson | 2009-09-07 19:04:58 +0100 (Mon, 07 Sep 2009) | 2 lines #Issue 6795: Fix infinite recursion in long(Decimal('nan')); change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext. ........
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d891de2..c1b1775 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -70,6 +70,10 @@ C-API
Library
-------
+- Issue #6795: int(Decimal('nan')) now raises ValueError instead of
+ returning NaN or raising InvalidContext. Also, fix infinite recursion
+ in long(Decimal('nan')).
+
- Issue #6850: Fix bug in Decimal._parse_format_specifier for formats
with no type specifier.