Author vstinner
Recipients neologix, pitrou, vstinner
Date 2014-07-23.02:15:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406081719.81.0.333799437527.issue22042@psf.upfronthosting.co.za>
In-reply-to
Content
"Also, given set_wakeup_fd() is rather specialized and uncommon, I don't see much point in making it more convenient."

The problem is that passing a blocking file descriptor can block the whole Python process. The hang does not occur immediatly, but only when the pipe is full for example, which may only occur in some corner cases (ex: heavy system load, slow network, etc.).

The minimum would be to raise an error if the file descriptor is in blocking mode.
History
Date User Action Args
2014-07-23 02:15:19vstinnersetrecipients: + vstinner, pitrou, neologix
2014-07-23 02:15:19vstinnersetmessageid: <1406081719.81.0.333799437527.issue22042@psf.upfronthosting.co.za>
2014-07-23 02:15:19vstinnerlinkissue22042 messages
2014-07-23 02:15:19vstinnercreate