Author vstinner
Recipients jkloth, miss-islington, vstinner
Date 2019-10-16.23:43:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On Windows, the threads reading pipes continue to run even after the direct child process exited.

Problem: at Python exit (main process), Python hangs on calling threading._shutdown() which waits until all Python threads complete.

One enhancement would be to spawn subprocess.Popen.communicate() internal threads as daemon threads. So threading._shutdown() would not wait for them at Python exit.
Date User Action Args
2019-10-16 23:43:43vstinnersetrecipients: + vstinner, jkloth, miss-islington
2019-10-16 23:43:43vstinnersetmessageid: <>
2019-10-16 23:43:43vstinnerlinkissue38207 messages
2019-10-16 23:43:43vstinnercreate