Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10004 > unrolled thread

/usr/bin/python2 in shebangs?

Started byPiotr Ożarowski <piotr@debian.org>
First post2017-12-14 14:40 +0100
Last post2017-12-15 00:00 +0100
Articles 6 — 6 participants

Back to article view | Back to linux.debian.maint.python


Contents

  /usr/bin/python2 in shebangs? Piotr Ożarowski <piotr@debian.org> - 2017-12-14 14:40 +0100
    Re: /usr/bin/python2 in shebangs? Matthias Klose <doko@debian.org> - 2017-12-14 14:50 +0100
    Re: /usr/bin/python2 in shebangs? Ondrej Novy <novy@ondrej.org> - 2017-12-14 15:20 +0100
    Re: /usr/bin/python2 in shebangs? Alexandros <alexandrosmouhtsis@gmail.com> - 2017-12-14 16:00 +0100
    Re: /usr/bin/python2 in shebangs? Tristan Seligmann <mithrandi@mithrandi.net> - 2017-12-14 16:40 +0100
    Re: /usr/bin/python2 in shebangs? Ben Finney <bignose@debian.org> - 2017-12-15 00:00 +0100

#10004 — /usr/bin/python2 in shebangs?

FromPiotr Ożarowski <piotr@debian.org>
Date2017-12-14 14:40 +0100
Subject/usr/bin/python2 in shebangs?
Message-ID<uWBTY-7In-13@gated-at.bofh.it>
Hi,

I plan to prepare new dh-python upload soon and hence a question about
a bit controversial change: should dh_python2 (as we discussed during
last DebConf's Python BoF) replace /usr/bin/python shebangs with
/usr/bin/python2?

Please note that it's not about pointing /usr/bin/python to python3 -
this will NOT happen. It's about making it easier to those admins that
want to do that anyway (or removing /usr/bin/python from Debian
completely)
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

[toc] | [next] | [standalone]


#10005

FromMatthias Klose <doko@debian.org>
Date2017-12-14 14:50 +0100
Message-ID<uWC3D-7NS-13@gated-at.bofh.it>
In reply to#10004
On 14.12.2017 14:38, Piotr Ożarowski wrote:
> Hi,
> 
> I plan to prepare new dh-python upload soon and hence a question about
> a bit controversial change: should dh_python2 (as we discussed during
> last DebConf's Python BoF) replace /usr/bin/python shebangs with
> /usr/bin/python2?

+1

[toc] | [prev] | [next] | [standalone]


#10006

FromOndrej Novy <novy@ondrej.org>
Date2017-12-14 15:20 +0100
Message-ID<uWCwG-8eG-9@gated-at.bofh.it>
In reply to#10004

[Multipart message — attachments visible in raw view] — view raw

2017-12-14 14:38 GMT+01:00 Piotr Ożarowski <piotr@debian.org>:

> I plan to prepare new dh-python upload soon and hence a question about
> a bit controversial change: should dh_python2 (as we discussed during
> last DebConf's Python BoF) replace /usr/bin/python shebangs with
> /usr/bin/python2?
>

+1

-- 
Best regards
 Ondřej Nový

Email: novy@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B

[toc] | [prev] | [next] | [standalone]


#10007

FromAlexandros <alexandrosmouhtsis@gmail.com>
Date2017-12-14 16:00 +0100
Message-ID<uWD9n-8sI-1@gated-at.bofh.it>
In reply to#10004

[Multipart message — attachments visible in raw view] — view raw

Στις 14 Δεκεμβρίου 2017 3:38:46 μ.μ. EET, ο/η "Piotr Ożarowski" <piotr@debian.org> έγραψε:
>Hi,
>
>I plan to prepare new dh-python upload soon and hence a question about
>a bit controversial change: should dh_python2 (as we discussed during
>last DebConf's Python BoF) replace /usr/bin/python shebangs with
>/usr/bin/python2?
>
>Please note that it's not about pointing /usr/bin/python to python3 -
>this will NOT happen. It's about making it easier to those admins that
>want to do that anyway (or removing /usr/bin/python from Debian
>completely)
>-- 
>GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

+1

[toc] | [prev] | [next] | [standalone]


#10008

FromTristan Seligmann <mithrandi@mithrandi.net>
Date2017-12-14 16:40 +0100
Message-ID<uWDM5-vv-7@gated-at.bofh.it>
In reply to#10004

[Multipart message — attachments visible in raw view] — view raw

On Thu, 14 Dec 2017 at 15:39 Piotr Ożarowski <piotr@debian.org> wrote:

> I plan to prepare new dh-python upload soon and hence a question about
> a bit controversial change: should dh_python2 (as we discussed during
> last DebConf's Python BoF) replace /usr/bin/python shebangs with
> /usr/bin/python2?
>

Since on a Debian system we know we have /usr/bin/python2 (as opposed to
some theoretical portable script that might need to run on other systems),
this sounds perfectly fine to me.

[toc] | [prev] | [next] | [standalone]


#10010

FromBen Finney <bignose@debian.org>
Date2017-12-15 00:00 +0100
Message-ID<uWKDT-4Oo-11@gated-at.bofh.it>
In reply to#10004
Piotr Ożarowski <piotr@debian.org> writes:

> I plan to prepare new dh-python upload soon and hence a question about
> a bit controversial change: should dh_python2 (as we discussed during
> last DebConf's Python BoF) replace /usr/bin/python shebangs with
> /usr/bin/python2?

+1, explicit is better than implicit.

-- 
 \     “Our task must be to free ourselves from our prison by widening |
  `\    our circle of compassion to embrace all humanity and the whole |
_o__)                       of nature in its beauty.” —Albert Einstein |
Ben Finney

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web