[issue4684] sys.exit() exits program when non-daemonic threads are still running

2009-08-26 Thread Joseph Malicki
Joseph Malicki added the comment: It seems like this was introduced by the fix for Issue 1566280. Note that the threading module docs clear state: "A thread can be flagged as a “daemon thread”. The significance of this flag is that the entire Python program exits when only daemon thread

[issue4684] sys.exit() exits program when non-daemonic threads are still running

2009-08-26 Thread Joseph Malicki
Joseph Malicki added the comment: Is it actually just documentation? Before Python 2.5, things worked according to the documentation, and nothing in the revisions that changed the behavior suggested this change in behavior was intentional. Moving the WaitForThreadShutdown() from Modules