[issue2273] test_decimal: possible thread lockup in test case

2008-03-21 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Commited in r61731. Thank you both! -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue2273] test_decimal: possible thread lockup in test case

2008-03-11 Thread Jared Grubb
Jared Grubb <[EMAIL PROTECTED]> added the comment: I ran into this bug because I created a context manager in one of my own projects, and the regression tests in test_decimal looked like a good start for my own regression tests... when some recent changes broke MY code, I found the test bug too a

[issue2273] test_decimal: possible thread lockup in test case

2008-03-11 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> 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 tha

[issue2273] test_decimal: possible thread lockup in test case

2008-03-11 Thread Facundo Batista
Changes by Facundo Batista <[EMAIL PROTECTED]>: -- assignee: -> facundobatista nosy: +facundobatista __ Tracker <[EMAIL PROTECTED]> __ ___ Pyth

[issue2273] test_decimal: possible thread lockup in test case

2008-03-11 Thread Jared Grubb
New submission from Jared Grubb <[EMAIL PROTECTED]>: 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 unitt