This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2015-03-28.20:10:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427573430.36.0.605750682641.issue23799@psf.upfronthosting.co.za>
In-reply-to
Content
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 and in following tests. Proposed patch adds new helper function test.support.start_threads() that starts threads and then join started threads.

Some tests even hang without this patch.
History
Date User Action Args
2015-03-28 20:10:30serhiy.storchakasetrecipients: + serhiy.storchaka
2015-03-28 20:10:30serhiy.storchakasetmessageid: <1427573430.36.0.605750682641.issue23799@psf.upfronthosting.co.za>
2015-03-28 20:10:30serhiy.storchakalinkissue23799 messages
2015-03-28 20:10:29serhiy.storchakacreate