summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-05-04 14:35:33 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-05-04 14:35:33 (GMT)
commitc69160e808d6a3b1e00993dc858fad48c596079a (patch)
tree1928bb429b6fb92ea083aac77ba7118ae5bf8afb /Misc
parenta714257a662b6557b8cd0a351fed2470af5ed355 (diff)
downloadcpython-c69160e808d6a3b1e00993dc858fad48c596079a.zip
cpython-c69160e808d6a3b1e00993dc858fad48c596079a.tar.gz
cpython-c69160e808d6a3b1e00993dc858fad48c596079a.tar.bz2
Merged revisions 80753 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r80753 | mark.dickinson | 2010-05-04 15:25:50 +0100 (Tue, 04 May 2010) | 10 lines Issue #8567: Fix incorrect precedence of signals in Decimal module. When a Decimal operation raises multiple signals and more than one of those signals is trapped, the specification determines the order in which the signals should be handled. In many cases this order wasn't being followed, leading to the wrong Python exception being raised. This commit fixes those cases, and adds extra tests. The tests are only enabled when EXTENDEDERRORTESTS is True, since they involve rerunning each Decimal testcase several times. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6b4f316..e847c01 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -348,6 +348,12 @@ C-API
Library
-------
+- Issue #8567: Fix precedence of signals in Decimal module: when a
+ Decimal operation raises multiple signals and more than one of those
+ signals is trapped, the specification determines the order in which
+ the signals should be handled. In many cases this order wasn't
+ being followed, leading to the wrong Python exception being raised.
+
- Issue #7865: The close() method of :mod:`io` objects should not swallow
exceptions raised by the implicit flush(). Also ensure that calling
close() several times is supported. Patch by Pascal Chambon.