This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Christophe Simonis, Iztok.Kavkler, Omega_Weapon, ajaksu2, andybuckley, brian.curtin, christian.heimes, edemaine, eric.araujo, giampaolo.rodola, iki, loewis, meatballhat, michael.foord, pitrou, python-dev, r.david.murray, sandro.tosi, schmir, sfllaw, tarek, tleeuwenburg@gmail.com, tmick, vstinner, weeble, wrstlprmpft
Date 2012-06-22.21:14:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340399455.3366.83.camel@localhost.localdomain>
In-reply-to <1340399371.15.0.912354411906.issue444582@psf.upfronthosting.co.za>
Content
> 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 :-)
History
Date User Action Args
2012-06-22 21:14:25pitrousetrecipients: + 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:24pitroulinkissue444582 messages
2012-06-22 21:14:24pitroucreate