Re: [PATCH] Standardize python shebangs
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- May 8, 2014, 11:48 UTC
- Message-ID
- <vpqlhucmqxt.fsf@anie.imag.fr>
- In-Reply-To
- <d15f06ad-0418-48ed-a9dc-6ca1e955e75c@email.android.com>
James Denholm <nod.helm@gmail.com> writes:
Show 17 quoted lines
> On 8 May 2014 06:57:13 GMT+10:00, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote: >>Felipe Contreras <felipe.contreras@gmail.com> writes: >> >>> Matthieu Moy wrote: >>>> Felipe Contreras <felipe.contreras@gmail.com> 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/