diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-05-04 14:37:14 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-05-04 14:37:14 (GMT) |
commit | ece0697f32066efa87945734fdad3dca1bd85201 (patch) | |
tree | 61e13876f6179b2a8a310b4248076875663d13e0 /Misc | |
parent | a2d5b34e97b6ff27acaa31062c93e9ebed618fc4 (diff) | |
download | cpython-ece0697f32066efa87945734fdad3dca1bd85201.zip cpython-ece0697f32066efa87945734fdad3dca1bd85201.tar.gz cpython-ece0697f32066efa87945734fdad3dca1bd85201.tar.bz2 |
Merged revisions 80755 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r80755 | mark.dickinson | 2010-05-04 15:35:33 +0100 (Tue, 04 May 2010) | 17 lines
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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,12 @@ Core and Builtins 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. |