]> granicus.if.org Git - python/commit
bpo-22536 [3.6] Set filename in FileNotFoundError (#3305)
authorGregory P. Smith <greg@krypto.org>
Mon, 4 Sep 2017 21:23:23 +0000 (14:23 -0700)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2017 21:23:23 +0000 (14:23 -0700)
commit1dba3789e335f06e3b01cdc84070f2e828c9b861
tree02f9ea9136c807f1e6a120637aae3047d509409b
parent703fdb837abb8e6c4df4e7070dc266383e9a7bd7
bpo-22536 [3.6] Set filename in FileNotFoundError  (#3305)

* [3.6] bpo-22536: Set the filename in FileNotFoundError. (GH-3194)

Have the subprocess module set the filename in the FileNotFoundError
exception raised on POSIX systems when the executable or cwd are missing.
(cherry picked from commit 8621bb5d93239316f97281826461b85072ff6db7)

* bpo-22536 [3.6] (GH-3202) skip non-windows tests.
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]