[issue28441] Change sys.executable to include executable suffix
Masayuki Yamamoto
report at bugs.python.org
Tue Oct 18 18:01:05 EDT 2016
Masayuki Yamamoto added the comment:
I agree to add the suffix to solve ambiguous path on Cygwin. And I think the patch should apply to all platforms having executable suffix.
Therefore, I modified your patch to remove #if directive for Cygwin, and I changed title to spread covered platforms.
This patch uses EXE_SUFFIX that is the EXE defined on Makefile. If platform doesn't have executable suffix, doesn't add anything process.
----------
components: +Interpreter Core
title: sys.executable is ambiguous on Cygwin without .exe suffix -> Change sys.executable to include executable suffix
Added file: http://bugs.python.org/file45137/sys-executable-suffix.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28441>
_______________________________________
More information about the Python-bugs-list
mailing list