Sebastian Kreft added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21594>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to