[New-bugs-announce] [issue2273] test_decimal: possible thread lockup in test case

Jared Grubb report at bugs.python.org
Tue Mar 11 17:46:15 CET 2008


New submission from Jared Grubb <python at jaredgrubb.com>:

In Lib\test\test_decimal.py, attached is a bugfix for two bugs:
1) If the thfunc2 actually fails, then its thread will throw an
exception and never set the Events that thfunc1 is waiting for; thus,
thfunc1 never returns, causing the whole unittest to hang.
2) DecimalUseOfContextTest.test_threading should wait on both finish1
and finish2 (instead of waiting on finish1 twice).

----------
components: Library (Lib)
files: test_decimal.patch
keywords: patch
messages: 63463
nosy: jaredgrubb
severity: normal
status: open
title: test_decimal: possible thread lockup in test case
type: crash
versions: Python 2.5
Added file: http://bugs.python.org/file9656/test_decimal.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2273>
__________________________________


More information about the New-bugs-announce mailing list