[issue23799] Join started threads in tests

2015-04-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue23799] Join started threads in tests

2015-04-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset f8358f6e50e7 by Serhiy Storchaka in branch '2.7': Issue #23799: Added test.test_support.start_threads() for running and https://hg.python.org/cpython/rev/f8358f6e50e7 New changeset 8987218adc99 by Serhiy Storchaka in branch '3.4': Issue #23799: Adde

[issue23799] Join started threads in tests

2015-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Something like this? -- Added file: http://bugs.python.org/file38738/test_support_start_threads_2.patch ___ Python tracker ___ ___

[issue23799] Join started threads in tests

2015-03-30 Thread STINNER Victor
STINNER Victor added the comment: > In this case all started threads left dangling and make MemotyError even more > probably Oh, I didn't know that. Good catch. test_support_start_threads.patch looks good to me and it looks like a nice enhancement. But would it be possible to emit a warning

[issue23799] Join started threads in tests

2015-03-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +ezio.melotti, haypo, michael.foord, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23799] Join started threads in tests

2015-03-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: When a test starts many threads in a loop, there is a chance that the starting thread will fail due to lack of memory. In this case all started threads left dangling and make MemotyError even more probably. They also can provoke dim error messages in this