Staging
v0.5.1
https://github.com/python/cpython
Revision 4f96f5ffc6dd0b171bb14666d134af84ae307752 authored by Mark Dickinson on 04 May 2010, 14:25:50 UTC, committed by Mark Dickinson on 04 May 2010, 14:25:50 UTC
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.
1 parent 7120219
History
Tip revision: 4f96f5ffc6dd0b171bb14666d134af84ae307752 authored by Mark Dickinson on 04 May 2010, 14:25:50 UTC
Issue #8567: Fix incorrect precedence of signals in Decimal module.
Tip revision: 4f96f5f
File Mode Size
stringlib
abstract.c -rw-r--r-- 68.8 KB
boolobject.c -rw-r--r-- 4.7 KB
bufferobject.c -rw-r--r-- 18.9 KB
bytearrayobject.c -rw-r--r-- 87.9 KB
bytes_methods.c -rw-r--r-- 8.2 KB
capsule.c -rw-r--r-- 6.9 KB
cellobject.c -rw-r--r-- 2.9 KB
classobject.c -rw-r--r-- 63.5 KB
cobject.c -rw-r--r-- 4.3 KB
codeobject.c -rw-r--r-- 15.2 KB
complexobject.c -rw-r--r-- 30.4 KB
descrobject.c -rw-r--r-- 33.6 KB
dictnotes.txt -rw-r--r-- 11.9 KB
dictobject.c -rw-r--r-- 79.7 KB
enumobject.c -rw-r--r-- 10.4 KB
exceptions.c -rw-r--r-- 60.5 KB
fileobject.c -rw-r--r-- 69.9 KB
floatobject.c -rw-r--r-- 63.2 KB
frameobject.c -rw-r--r-- 27.1 KB
funcobject.c -rw-r--r-- 21.4 KB
genobject.c -rw-r--r-- 10.1 KB
intobject.c -rw-r--r-- 37.4 KB
iterobject.c -rw-r--r-- 5.2 KB
listobject.c -rw-r--r-- 72.1 KB
listsort.txt -rw-r--r-- 31.0 KB
lnotab_notes.txt -rw-r--r-- 5.3 KB
longobject.c -rw-r--r-- 111.4 KB
memoryobject.c -rw-r--r-- 24.4 KB
methodobject.c -rw-r--r-- 9.4 KB
moduleobject.c -rw-r--r-- 6.4 KB
object.c -rw-r--r-- 57.3 KB
obmalloc.c -rw-r--r-- 60.2 KB
rangeobject.c -rw-r--r-- 8.9 KB
setobject.c -rw-r--r-- 58.4 KB
sliceobject.c -rw-r--r-- 8.3 KB
stringobject.c -rw-r--r-- 118.2 KB
structseq.c -rw-r--r-- 12.5 KB
tupleobject.c -rw-r--r-- 24.0 KB
typeobject.c -rw-r--r-- 174.4 KB
unicodectype.c -rw-r--r-- 4.6 KB
unicodeobject.c -rw-r--r-- 264.7 KB
unicodetype_db.h -rw-r--r-- 160.1 KB
weakrefobject.c -rw-r--r-- 29.7 KB

back to top