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 Justin Mayfield
Recipients Justin Mayfield, chetan, gvanrossum, vstinner, yselivanov
Date 2016-09-04.23:04:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473030297.47.0.544335933213.issue24837@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with Guido.  I spent a couple hours trying to debug some of my own code that turned out to be this issue.  My use case is single threaded too.

Perhaps I'm daft but I don't understand why the child watcher is part of the event loop policy.  At first glance it appears that it would be better suited being attached to any event loop in the main thread and then this wouldn't be an issue.

I wonder if this design is intended to support launching subprocesses from non-main thread event loops, which seems inherently dangerous and potentially misguided to me.
History
Date User Action Args
2016-09-04 23:04:57Justin Mayfieldsetrecipients: + Justin Mayfield, gvanrossum, vstinner, yselivanov, chetan
2016-09-04 23:04:57Justin Mayfieldsetmessageid: <1473030297.47.0.544335933213.issue24837@psf.upfronthosting.co.za>
2016-09-04 23:04:57Justin Mayfieldlinkissue24837 messages
2016-09-04 23:04:57Justin Mayfieldcreate