Path: csiph.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod From: Tristan Seligmann Newsgroups: linux.debian.maint.python Subject: Re: /usr/bin/python2 in shebangs? Date: Thu, 14 Dec 2017 16:40:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Dec 14 15:39:10 2017 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.8 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .mithrandi. - helo: .mail-it0-x232.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mithrandi.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=52XG5mROldVozicIpYmHLxBA9aBtsjr+je35pUEZ2e0=; b=bQoASYmXM5IvmDbTx3xVOfz9es+HMOXL0pUzNul4FXxdwxtTnpV0hhxbZxXqPJtcHS ZHktn5CHF89Obe2YcxuObytw01UrBps71Gbh+f8TGHx7RaV+f9ziU72qeUiNSLWNDCOm nrndRlpl2okDs4YEiOyIcj1yvuX9X+Cm4mjP8= X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=52XG5mROldVozicIpYmHLxBA9aBtsjr+je35pUEZ2e0=; b=njQvB3xv+j38fGFLDgzOcHQddMmYHT8YB+q32uPbI7M3Zmst7NL1S2Ykzsv0LZ7wDZ SlQ3U3gyuVVW7tLo5enlNb7WHoVEUup2JAQw7EQzGiQKxs09mJEm2P0Iwpqu7EZZgOkQ aZkCNHlM2vNtX2CUgnvO/OYG0u264fBMPi5zubigWGPDtVHwrfVH6jVLApP8owdUTTHx GkhrKiqDwEI+eY6+Nxplhs+jLQYMtJsw6P/pUtnC4FHRhRXsSnR09RT7nkc06jQJA/47 3aUWLT7FmYLaxbJJ4FfTuk4q9vzkyYPjKMEKrpEbSnEA3JIo8t2GkXsinquiwDOdXp4G K9Cw== X-Gm-Message-State: AKGB3mLYgivYbpaG4D2AspGaUPpmy8iafJmNaoBJNHcwrfwGTU+1Ve46 oi1OKeEd80+Ys+NLRGkxVGZMBsfULkKLnnwcmWlAdqGg X-Google-SMTP-Source: ACJfBovX3GSvIdyCBhkSMWfEYEo7+2YyN+1xR/i4syO7zAGjNCKflvQLLRHIct5AbuEB56Ypd85a8uxpexbwFVg8jEs= X-Received: by 10.36.253.137 with SMTP id m131mr3657427ith.16.1513264896309; Thu, 14 Dec 2017 07:21:36 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c11bf089890af05604e706b" X-Mailing-List: archive/latest/15402 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAMcKhMThM1OEY3miZ7eAT1fmnakr+_AqQrjKTCp+pU3J1vATvg@mail.gmail.com Approved: robomod@news.nic.it Lines: 33 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 14 Dec 2017 15:21:25 +0000 X-Original-Message-ID: X-Original-References: <20171214133846.fizkcetvwp6hg4li@sar0.p1otr.com> Xref: csiph.com linux.debian.maint.python:10008 --94eb2c11bf089890af05604e706b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 14 Dec 2017 at 15:39 Piotr O=C5=BCarowski 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. --94eb2c11bf089890af05604e706b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, 14 Dec= 2017 at 15:39 Piotr O=C5=BCarowski <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 sys= tem we know we have /usr/bin/python2 (as opposed to some theoretical portab= le script that might need to run on other systems), this sounds perfectly f= ine to me.
--94eb2c11bf089890af05604e706b--