Eric V. Smith added the comment:

You can use os.path.expanduser(). In general we leave decisions such as 
expanding user names and environment variables up to the caller, and we don't 
build them in to each function.

Although I'm not sure why you'd want to pass a full path name to 
distutils.spawn.find_executable(), if that's the function you're talking about. 
I'm not even entirely sure it's supposed to work given a full path.

----------
nosy: +eric.smith

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24690>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to