]> granicus.if.org Git - python/commit
bpo-22536: Set the filename in FileNotFoundError. (#3194)
authorGregory P. Smith <greg@krypto.org>
Thu, 24 Aug 2017 21:58:25 +0000 (14:58 -0700)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2017 21:58:25 +0000 (14:58 -0700)
commit8621bb5d93239316f97281826461b85072ff6db7
tree84335831455c051084816564497bc5b7f549ec83
parentde50360ac2fec81dbf733f6c3c739b39a8822a39
bpo-22536: Set the filename in FileNotFoundError. (#3194)

Have the subprocess module set the filename in the FileNotFoundError
exception raised on POSIX systems when the executable or cwd are missing.
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS.d/next/Library/2017-08-23.bpo-22536._narf_.rst [new file with mode: 0644]