[issue21594] asyncio.create_subprocess_exec raises OSError
Sebastian Kreft
report at bugs.python.org
Mon Jun 2 15:29:46 CEST 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue21594>
_______________________________________
More information about the Python-bugs-list
mailing list