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
VC6
VS7.1
VS8.0
bdist_wininst
example_nt
icons
os2emx
os2vacpp
WinMain.c -rw-r--r-- 447 bytes
_msi.c -rw-r--r-- 28.5 KB
_subprocess.c -rw-r--r-- 17.0 KB
_winreg.c -rw-r--r-- 51.1 KB
config.c -rw-r--r-- 4.5 KB
dl_nt.c -rw-r--r-- 3.8 KB
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
errmap.h -rw-r--r-- 1.6 KB
errmap.mak -rw-r--r-- 95 bytes
frozen_dllmain.c -rw-r--r-- 3.6 KB
generrmap.c -rw-r--r-- 452 bytes
getpathp.c -rw-r--r-- 18.5 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
import_nt.c -rw-r--r-- 2.4 KB
make_versioninfo.c -rw-r--r-- 1.2 KB
msvcrtmodule.c -rwxr-xr-x 10.1 KB
py.ico -rw-r--r-- 19.3 KB
pyc.ico -rw-r--r-- 19.3 KB
pycon.ico -rw-r--r-- 19.3 KB
pyconfig.h -rw-r--r-- 20.2 KB
python.mk -rw-r--r-- 234 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.8 KB
readme.txt -rw-r--r-- 4.2 KB
testpy.py -rw-r--r-- 834 bytes
w9xpopen.c -rw-r--r-- 3.6 KB
winsound.c -rw-r--r-- 5.1 KB

readme.txt

back to top