Merged revisions 80753 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Tue, 4 May 2010 14:30:32 +0000 (14:30 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Tue, 4 May 2010 14:30:32 +0000 (14:30 +0000)
commit1cdfa5f5bc24316373a330bec7ec50a126aefad7
treec4729f7f908db22fd28841440698a8cbe25434db
parent01a255add1f54eb81a34687a341c1e6373c6e542
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.
........
Lib/decimal.py
Lib/test/test_decimal.py
Misc/NEWS