summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorE. M. Bray <erik.m.bray@gmail.com>2018-10-05 13:38:50 +0200
committerINADA Naoki <methane@users.noreply.github.com>2018-10-05 20:38:50 +0900
commit7a7693e9cb12e5571c76331db56a28eef9acb6e0 (patch)
treeaec1c1f77601b9244e490496688b7caf15239775 /Misc
parentfc7d1b3b6a2be7061c000245bb1faa438e42f5d8 (diff)
downloadcpython-git-7a7693e9cb12e5571c76331db56a28eef9acb6e0.tar.gz
bpo-28441: Ensure `.exe` suffix in `sys.executable` on MinGW and Cygwin (GH-4348)
This is needed to even the run the test suite on buildbots for affected platforms; e.g.: ``` ./python.exe ./Tools/scripts/run_tests.py -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2 /home/embray/src/python/test-worker/3.x.test-worker/build/python -u -W default -bb -E -W error::BytesWarning -m test -r -w -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2 Traceback (most recent call last): File "./Tools/scripts/run_tests.py", line 56, in <module> main(sys.argv[1:]) File "./Tools/scripts/run_tests.py", line 52, in main os.execv(sys.executable, args) PermissionError: [Errno 13] Permission denied make: *** [Makefile:1073: buildbottest] Error 1 ```
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-10-04-15-53-14.bpo-28441.2sQENe.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-04-15-53-14.bpo-28441.2sQENe.rst b/Misc/NEWS.d/next/Library/2018-10-04-15-53-14.bpo-28441.2sQENe.rst
new file mode 100644
index 0000000000..45143c2a54
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-10-04-15-53-14.bpo-28441.2sQENe.rst
@@ -0,0 +1,3 @@
+On Cygwin and MinGW, ensure that ``sys.executable`` always includes the full
+filename in the path, including the ``.exe`` suffix (unless it is a symbolic
+link).