git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Standardize python shebangs

From
James Denholm <nod.helm@gmail.com>
Date
May 7, 2014, 22:19 UTC
Message-ID
<d15f06ad-0418-48ed-a9dc-6ca1e955e75c@email.android.com>
In-Reply-To
<vpq1tw5nw7q.fsf@anie.imag.fr>
On 8 May 2014 06:57:13 GMT+10:00, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 12 quoted lines
>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, and these scripts run perfectly well on python2, why not mandate that the agnostic subset be run on python2?

Regards, James Denholm.

Previous: Matthieu MoyNext: Matthieu Moy
Message 11 of 13 in “Standardize python shebangs”
  1. Standardize python shebangsFelipe Contreras, May 7, 2014
  2. Johan HerlandMay 7, 2014
  3. Felipe ContrerasMay 7, 2014
  4. James DenholmMay 7, 2014
  5. Johan HerlandMay 7, 2014
  6. Matthieu MoyMay 7, 2014
  7. Felipe ContrerasMay 7, 2014
  8. Matthieu MoyMay 7, 2014
  9. Felipe ContrerasMay 7, 2014
  10. Matthieu MoyMay 7, 2014
  11. James DenholmMay 7, 2014
  12. Matthieu MoyMay 8, 2014
  13. Johan HerlandMay 8, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.