git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: James Denholm <nod.helm@gmail.com>
Cc: Felipe Contreras <felipe.contreras@gmail.com>,
	git@vger.kernel.org, Michael Haggerty <mhagger@alum.mit.edu>
Subject: Re: [PATCH] Standardize python shebangs
Date: Thu, 08 May 2014 13:48:46 +0200	[thread overview]
Message-ID: <vpqlhucmqxt.fsf@anie.imag.fr> (raw)
In-Reply-To: <d15f06ad-0418-48ed-a9dc-6ca1e955e75c@email.android.com> (James Denholm's message of "Thu, 08 May 2014 08:19:15 +1000")

James Denholm <nod.helm@gmail.com> writes:

> 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/

  reply	other threads:[~2014-05-08 11:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 10:03 [PATCH] Standardize python shebangs Felipe Contreras
2014-05-07 10:27 ` Johan Herland
2014-05-07 11:11   ` Felipe Contreras
2014-05-07 12:03     ` James Denholm
2014-05-07 12:28     ` Johan Herland
2014-05-07 18:06 ` Matthieu Moy
2014-05-07 19:06   ` Felipe Contreras
2014-05-07 20:23     ` Matthieu Moy
2014-05-07 20:40       ` Felipe Contreras
2014-05-07 20:57         ` Matthieu Moy
2014-05-07 22:19           ` James Denholm
2014-05-08 11:48             ` Matthieu Moy [this message]
2014-05-08 12:20               ` Johan Herland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpqlhucmqxt.fsf@anie.imag.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=felipe.contreras@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=mhagger@alum.mit.edu \
    --cc=nod.helm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).