[issue22536] subprocess should include filename in FileNotFoundError exception

Travis Thieman report at bugs.python.org
Sat Nov 15 22:42:45 CET 2014


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.

----------
keywords: +patch
nosy: +travis.thieman
Added file: http://bugs.python.org/file37202/22536-subprocess-exception-filename.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22536>
_______________________________________


More information about the Python-bugs-list mailing list