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 ned.deily
Recipients cbertram, ned.deily, pitrou, r.david.murray
Date 2010-09-15.22:26:35
SpamBayes Score 0.00014466555
Marked as misclassified No
Message-id <1284589597.94.0.115029177543.issue9863@psf.upfronthosting.co.za>
In-reply-to
Content
A better fix for the program is to mark the test_loop thread as a daemon thread.  As the threading module documentation says, by default threads started from the main thread are non-daemon threads and the "entire Python program exits when no alive non-daemon threads are left."  The test case terminates properly by adding a thread.daemon = True after the threading.Thread call in run().
History
Date User Action Args
2010-09-15 22:26:38ned.deilysetrecipients: + ned.deily, pitrou, r.david.murray, cbertram
2010-09-15 22:26:37ned.deilysetmessageid: <1284589597.94.0.115029177543.issue9863@psf.upfronthosting.co.za>
2010-09-15 22:26:35ned.deilylinkissue9863 messages
2010-09-15 22:26:35ned.deilycreate