Travis Thieman added the comment:
Thank you all for the helpful comments. A revised attempt is attached as
-2.patch, with improved behavior around using cwd if the child is never called
and orig_executable if it is. I opted not to fix the issue with the redundancy
in the error message as I
Travis Thieman added the comment:
The attached patch includes the first element in args in _execute_child to the
OSError exception subclass. This correctly populates the 'filename' field on
the resulting exception. A test is also included that fails without the patch.
-
Travis Thieman added the comment:
Why is it insufficient to run a synchronous 'filter' over the list returned by
'Pool.map'? These functional constructs are inherently composable, and we
should favor composing simple implementations of each rather than implementing
s