STINNER Victor added the comment:

You should only add the filename if the error if a FileNotFound exception, not 
for any OSError, and only if exec() was called. It looks like the variable 
child_exec_never_called indicates if exec() was called.

----------
nosy: +haypo

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

Reply via email to