Re: [PATCH] Standardize python shebangs

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

 



James Denholm <nod.helm@xxxxxxxxx> writes:

> On 8 May 2014 06:57:13 GMT+10:00, Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> wrote:
>>Felipe Contreras <felipe.contreras@xxxxxxxxx> writes:
>>
>>> Matthieu Moy wrote:
>>>> Felipe Contreras <felipe.contreras@xxxxxxxxx> writes:
>>>> > If you want to use python2, then use '/usr/bin/env python2'.
>>>> 
>>>> Err, yes, this is what the code does before your patch.
>>>
>>> Not for all the instances.
>>
>>Well, I guess not all scripts require python2, hence not all scripts
>>declare that they depend on python2.
>
> Does it make sense for git to have a strict subset of python scripts as
> version agnostic, though? Given that some scripts depend on python2
> already, and hence we know that the user has python2,

No, we don't. People do not have to use _all_ Python scripts. The
discussion started about git-multimail.py, which I use on a server which
doesn't have python3, while my desktop (where I use other Git commands)
has Python3.

It is very important that git-multimail keeps running with Python2
(ideally, it could be portable Python 2 or 3, but it's not so easy to
do), but that would be strange to force even non-git-multimail-users to
use Python2 for that.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
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]