• Mark Dickinson's avatar
    Issue #8567: Fix incorrect precedence of signals in Decimal module. · 4f96f5ff
    Mark Dickinson yazdı
    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.
    4f96f5ff
test_decimal.py 82.2 KB