[Python-Dev] PEP 441 - Improving Python ZIP Application Support

Glenn Linderman v+python at g.nevcal.com
Tue Feb 17 22:20:19 CET 2015


On 2/17/2015 10:52 AM, Barry Warsaw wrote:
> Probably the best thing to do (on *nix at least) is, if the path is absolute,
> use the given string verbatim.  If the path is relative, search for the given
> executable on $PATH and use the first one found.  If nothing is found, use
> what's given explicitly.
I think searching would be inappropriate.  Just use what is given, as a 
string.  If the user wants a search, they can use `which`. Otherwise, 
setting to a relative path reliably would be hard (and sometimes desirable).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150217/861312e9/attachment.html>


More information about the Python-Dev mailing list