Antoine Pitrou <pit...@free.fr> added the comment: > I think it would be more surprising if by default it did something > different than what the 'which' command does.
You know, I've never noticed that Unix `which` automatically abspathified the results (does it always? is it system-dependent? how about Windows?). > It also seems like the If there's demand for a non-abspath version we > could add that as a feature later. That sounds overkill. If which() calls abspath, then there's no way to get a non-absolute result. While if which() doesn't call abspath, the caller is free to call abspath() if they want to ensure the result is absolute. Sounds like a no-brainer to me :-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue444582> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com