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 jwilk
Recipients christian.heimes, giampaolo.rodola, gregory.p.smith, izbyshev, jwilk, serhiy.storchaka, vstinner
Date 2019-04-16.16:59:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555433940.09.0.345778010137.issue35755@roundup.psfhosted.org>
In-reply-to
Content
which(1) is not standardized, and there are many[*] implementations with different behavior in corner cases. For example, this happens with zsh 5.7.1 on Debian:

  % which python      
  /usr/bin/python
  % PATH= which python
  python
  % PATH=. which python
  ./python
  % PATH=: which python
  python


[*] I'm aware of GNU which, which from debianutils, and zsh builtin. In addition to this, AFAICS every major BSD distro has a different implementation…
History
Date User Action Args
2019-04-16 16:59:00jwilksetrecipients: + jwilk, gregory.p.smith, vstinner, giampaolo.rodola, christian.heimes, serhiy.storchaka, izbyshev
2019-04-16 16:59:00jwilksetmessageid: <1555433940.09.0.345778010137.issue35755@roundup.psfhosted.org>
2019-04-16 16:59:00jwilklinkissue35755 messages
2019-04-16 16:59:00jwilkcreate