Message163488
> 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 :-) |
|
Date |
User |
Action |
Args |
2012-06-22 21:14:25 | pitrou | set | recipients:
+ pitrou, loewis, tmick, edemaine, vstinner, wrstlprmpft, giampaolo.rodola, christian.heimes, ajaksu2, sfllaw, schmir, tarek, eric.araujo, Christophe Simonis, andybuckley, weeble, r.david.murray, tleeuwenburg@gmail.com, michael.foord, brian.curtin, meatballhat, sandro.tosi, iki, Iztok.Kavkler, python-dev, Omega_Weapon |
2012-06-22 21:14:24 | pitrou | link | issue444582 messages |
2012-06-22 21:14:24 | pitrou | create | |
|