Author akira
Recipients akira, berker.peksag, charpov, gregory.p.smith, ronaldoussoren, travis.thieman, tshepang
Date 2014-11-17.20:55:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I can confirm that without the patch the filename attribute is None
despite being mentioned in strerror.

Travis, you should use `orig_executable` instead of `args[0]` to cover:"exit 0", shell=True, executable='/nonexistent bash')


And use `cwd` if `child_exec_never_called`, to be consistent with the error message (see if/else statements above the raise statement).

It seems appropriate to set filename even if errno is not ENOENT
but to be conservative, you could provide filename iff `err_msg` is also changed i.e., iff errno is ENOENT.
Date User Action Args
2014-11-17 20:55:23akirasetrecipients: + akira, gregory.p.smith, ronaldoussoren, tshepang, berker.peksag, charpov, travis.thieman
2014-11-17 20:55:23akirasetmessageid: <>
2014-11-17 20:55:23akiralinkissue22536 messages
2014-11-17 20:55:23akiracreate