Joseph Malicki <jmali...@gmail.com> 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 threads are left. The initial value is inherited from the creating thread. The flag can be set through the daemon property." This behavior violates it. The WaitForThreading() fix in Py_Main works only if sys.exit() is not called, which disagrees with the documentation. ---------- nosy: +jmalicki _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4684> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com