[issue2273] test_decimal: possible thread lockup in test case

Mark Dickinson report at bugs.python.org
Tue Mar 11 20:36:11 CET 2008


Mark Dickinson <dickinsm at gmail.com> added the comment:

This is a minor annoyance that's tripped me up before as well.  Only 
minor, since it only happens when there's something wrong with 
decimal.py.

The patch looks sound;  I've attached a regenerated version of it 
against the trunk.  (Note that the finish1 -> finish2 bug was already 
fixed in the trunk.)  I think it should be applied, and probably 
backported to 2.5 as well.

Jared, thanks for the report and the patch!  I'm curious to know how you 
encountered this;  if test_decimal is failing for a good reason, then 
there may be a Decimal bug to be fixed.

----------
nosy: +marketdickinson
versions: +Python 2.6
Added file: http://bugs.python.org/file9657/test_decimal_thread.patch

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


More information about the Python-bugs-list mailing list