Antoine Pitrou <pit...@free.fr> 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.

GetFullPathName() is an abspath() equivalent. For realpath() you want
GetFinalPathNameByHandle(), aka. _nt.getfinalpathname().

----------

_______________________________________
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