[issue22536] subprocess should include filename in FileNotFoundError exception

2014-11-29 Thread Travis Thieman
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

[issue22536] subprocess should include filename in FileNotFoundError exception

2014-11-15 Thread Travis Thieman
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. -

[issue22864] Add filter to multiprocessing.Pool

2014-11-15 Thread Travis Thieman
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