Re: [PATCH] Standardize python shebangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 7, 2014 at 12:03 PM, Felipe Contreras
<felipe.contreras@xxxxxxxxx> 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@xxxxxxxxxxx>
www.herland.net
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]