Greg Jednaszewski <jednaszew...@gmail.com> added the comment:

I spent some time working on and testing a unit test as well.  It's the same 
basic idea as Zsolt Cserna's, but with a slightly different approach.  See 
7242_unittest.diff.  My unittest fails pre-patch and succeeds post-patch.

However, I still have reservations about the patch.  The existing test 
test_threading.ThreadJoinOnShutdown.test_3_join_in_forked_from_thread hangs 
with the patch in place.

Vanilla 2.6.2 - test passes
Vanilla 2.6.4 - test fails
Patched 2.6.4 - test hangs

Note: the code of the test_threading test is identical in all 3 cases.  I'd 
feel more confident about the patch if this test didn't hang with the patch in 
place.

----------
Added file: http://bugs.python.org/file16381/7242_unittest.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7242>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to