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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28441>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to