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

Reply via email to