Re: [PATCH] Standardize python shebangs
- From
Johan Herland <johan@herland.net>
- Date
- May 7, 2014, 10:27 UTC
- Message-ID
- <CALKQrgc=Xa767S8ZTTYnXjHTfLOg_fDG+aT4cVqpvx4HMhO03Q@mail.gmail.com>
- In-Reply-To
- <1399456987-24156-1-git-send-email-felipe.contreras@gmail.com>
On Wed, May 7, 2014 at 12:03 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:
> It's better if all our scripts use the same '/usr/bin/env python'.
Only if they are source compatible with both Python2 and Python3. See PEP394 <URL: http://legacy.python.org/dev/peps/pep-0394/ >. Otherwise (for python2-only scripts) '/usr/bin/env python2' is the way to go.
...Johan
-- Johan Herland, <johan@herland.net> www.herland.net