[issue444582] Finding programs in PATH, adding shutil.which

Brian Curtin report at bugs.python.org
Fri Jun 22 23:06:00 CEST 2012


Brian Curtin <brian at python.org> added the comment:

> I don't really understand why you call abspath(). If the caller wants an absolute path, they can call abspath() themselves.

Because that is what `which` does.

I just pushed the change before I saw this message, so it went in as the patch shows. Do you want this changed?

----------

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


More information about the Python-bugs-list mailing list