[issue14088] sys.executable generating canonical path

STINNER Victor report at bugs.python.org
Thu Feb 23 00:12:09 CET 2012


STINNER Victor <victor.stinner at gmail.com> added the comment:

We can use realpath() if the function is available. Something similar is already done for sys.argv[0]. We should also use GetFullPathNameW() on Windows.

----------
nosy: +haypo
Added file: http://bugs.python.org/file24607/sys_executable_realpath.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14088>
_______________________________________


More information about the Python-bugs-list mailing list