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
_bsddb.vcproj -rw-r--r-- 26.8 KB
_ctypes.vcproj -rw-r--r-- 13.1 KB
_ctypes_test.vcproj -rw-r--r-- 8.3 KB
_elementtree.vcproj -rw-r--r-- 11.1 KB
_hashlib.vcproj -rw-r--r-- 10.6 KB
_msi.vcproj -rw-r--r-- 8.8 KB
_multiprocessing.vcproj -rw-r--r-- 9.3 KB
_socket.vcproj -rw-r--r-- 8.8 KB
_sqlite3.vcproj -rw-r--r-- 10.7 KB
_ssl.vcproj -rw-r--r-- 10.6 KB
_testcapi.vcproj -rw-r--r-- 8.4 KB
_tkinter.vcproj -rw-r--r-- 9.3 KB
bdist_wininst.vcproj -rw-r--r-- 5.8 KB
build.bat -rw-r--r-- 488 bytes
build_env.bat -rw-r--r-- 25 bytes
build_pgo.bat -rw-r--r-- 1.1 KB
build_ssl.bat -rw-r--r-- 253 bytes
build_ssl.py -rw-r--r-- 9.1 KB
build_tkinter.py -rw-r--r-- 2.2 KB
bz2.vcproj -rw-r--r-- 11.9 KB
debug.vsprops -rw-r--r-- 310 bytes
env.bat -rw-r--r-- 163 bytes
field3.py -rw-r--r-- 974 bytes
idle.bat -rw-r--r-- 284 bytes
installer.bmp -rw-r--r-- 57.4 KB
kill_python.c -rw-r--r-- 5.5 KB
kill_python.vcproj -rw-r--r-- 4.5 KB
make_buildinfo.c -rw-r--r-- 2.9 KB
make_buildinfo.vcproj -rw-r--r-- 2.8 KB
make_versioninfo.vcproj -rw-r--r-- 6.8 KB
pcbuild.sln -rw-r--r-- 40.6 KB
pginstrument.vsprops -rw-r--r-- 921 bytes
pgupdate.vsprops -rw-r--r-- 379 bytes
pyd.vsprops -rw-r--r-- 606 bytes
pyd_d.vsprops -rw-r--r-- 833 bytes
pyexpat.vcproj -rw-r--r-- 10.0 KB
pyproject.vsprops -rw-r--r-- 2.3 KB
python.vcproj -rw-r--r-- 11.7 KB
pythoncore.vcproj -rw-r--r-- 34.7 KB
pythonw.vcproj -rw-r--r-- 11.3 KB
readme.txt -rw-r--r-- 14.6 KB
release.vsprops -rw-r--r-- 311 bytes
rmpyc.py -rw-r--r-- 598 bytes
rt.bat -rw-r--r-- 1.8 KB
select.vcproj -rw-r--r-- 9.0 KB
sqlite3.vcproj -rw-r--r-- 8.9 KB
sqlite3.vsprops -rw-r--r-- 374 bytes
unicodedata.vcproj -rw-r--r-- 8.6 KB
vs9to8.py -rw-r--r-- 1.5 KB
w9xpopen.vcproj -rw-r--r-- 10.0 KB
winsound.vcproj -rw-r--r-- 8.6 KB
x64.vsprops -rw-r--r-- 537 bytes

readme.txt

back to top