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 tzot
Recipients
Date 2003-08-29.14:53:33
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=539787

This is a different issue (blocked threads preventing program 
exit on a specific platform).  You might consider that as a 
platform-specific bug, one for which little can be done 
unfortunately (until Python OS starts spreading :).

It is sound advice to make sure you send an finalising token 
to threads waiting on a Queue, which directs them to end.  
No platform-specific hassles this way.

For your issue, a typical solution would be to wrap your 
threads in a class, which allows you to 'restart' threads (while 
actually creating a new threading.Thread).

Please understand that personal opinions are not enough to 
justify changes to the language (unless the same personal 
opinions belong to a clear majority of the Python community); 
all requesters need to justify their requests on a practical 
point of view, or provide code that does what they want 
without disrupting the language operation.

Since "bug" 793687 is actually documented behaviour, you 
might consider closing and reposting it as a feature request; 
hopefully you will provide a patch too :)
History
Date User Action Args
2007-08-23 14:16:18adminlinkissue793687 messages
2007-08-23 14:16:18admincreate