Author Sebastian.Kreft.Deezer
Recipients Sebastian.Kreft.Deezer, vstinner
Date 2014-06-02.13:29:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401715786.03.0.672998684431.issue21594@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that blocking is not ideal, however there are already some other methods that can eventually block forever, and for such cases a timeout is provided. A similar approach could be used here.

I think this method should retry until it can actually access the resources, because knowing when and how many files descriptors are going to be used is very implementation dependent. So handling the retry logic on the application side, would be probably very inefficient as lot os information is missing, as the subprocess mechanism is a black box.
History
Date User Action Args
2014-06-02 13:29:46Sebastian.Kreft.Deezersetrecipients: + Sebastian.Kreft.Deezer, vstinner
2014-06-02 13:29:46Sebastian.Kreft.Deezersetmessageid: <1401715786.03.0.672998684431.issue21594@psf.upfronthosting.co.za>
2014-06-02 13:29:46Sebastian.Kreft.Deezerlinkissue21594 messages
2014-06-02 13:29:45Sebastian.Kreft.Deezercreate