Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8984
| Path | csiph.com!2.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!enother.net!enother.net!enother.net!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Thomas Goirand <zigo@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: /usr/bin/python2 shebangs |
| Date | Mon, 07 Nov 2016 11:50:01 +0100 |
| Message-ID | <sAPEZ-1Vz-19@gated-at.bofh.it> (permalink) |
| References | <syIeB-1oI-1@gated-at.bofh.it> <syJkm-232-31@gated-at.bofh.it> <syODn-5xo-17@gated-at.bofh.it> <syPpL-63q-5@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Nov 7 10:45:05 2016 |
| Old-Return-Path | <zigo@debian.org> |
| X-Amavis-Spam-Status | No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5 |
| Organization | Debian |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/14329 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/14cc95bb-c4d7-ecb6-a8c7-7a10fe8e16d7@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 48 |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 7 Nov 2016 11:44:41 +0100 |
| X-Original-Message-ID | <14cc95bb-c4d7-ecb6-a8c7-7a10fe8e16d7@debian.org> |
| X-Original-References | <20161101102801.0350863b@subdivisions.wooz.org> <D7DAFF32-455F-4B1E-B14C-CB817B1F44F8@kitterman.com> <20161101171421.0368f9dc@subdivisions.wooz.org> <2202191.8VQVvDViSp@kitterma-e6430> |
| Xref | csiph.com linux.debian.maint.python:8984 |
Show key headers only | View raw
On 11/01/2016 11:03 PM, Scott Kitterman wrote: > On Tuesday, November 01, 2016 05:14:21 PM Barry Warsaw wrote: >> On Nov 01, 2016, at 11:34 AM, Scott Kitterman wrote: >>> I don't think /usr/bin/python should ever point to a python3 version. It >>> should be dropped when python2.7 is removed. I think the existence of >>> /usr/bin/python2 is a limited to a work around for a specific distros >>> insanity. There's no need to encourage it's use in Debian as that >>> particular insanity hasn't and won't (as long as I'm a python*-defaults >>> co-maintainer). >>> >>> P.S. But I think you already knew how I feel about it. ;-) >> >> Oh yes, I knew. :) >> >> Okay, so you don't think we should ever shebang scripts to /usr/bin/python2. >> Maybe lintian should warn specifically against that then? >> >> (I still think /usr/bin/python2 is the better long term path, but I don't >> feel strongly enough about it to advocate a formal transition.) >> >> Cheers, >> -Barry > > Given that we provide /usr/bin/python2 in all supported releases, I don't > think it's use is actively harmful, but neither do I think should it be any > kind of goal. > > Even after python2.7 is removed from Debian, there will still be users who > keep a local copy because they couldn't migrate things due to $REASONS. Re- > using /usr/bin/python for a python3 version won't accomplish anything more > than gratuitously break such setups. It does serve the purpose of providing /usr/bin/python for upstream source which works with Python 3 and use #!/usr/bin/python (if they don't care if the python version is 2 or 3, that's what IMO they should rightly do). So, I don't agree with you, and believe that gradually using #!/usr/bin/python2 is a good approach to the transition. IMO, that's what we should start doing as much as possible. If the dependencies for Python itself aren't calculated well with that shebang, then we should address that to make it right regardless of this choice. Cheers, Thomas Goirand (zigo)
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
/usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-01 15:30 +0100
Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-01 16:40 +0100
Re: /usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-01 22:20 +0100
Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-01 23:10 +0100
Re: /usr/bin/python2 shebangs Donald Stufft <donald@stufft.io> - 2016-11-02 01:50 +0100
Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-02 02:10 +0100
Python 4 and ‘python3’ (was: /usr/bin/python2 shebangs) Ben Finney <bignose@debian.org> - 2016-11-02 04:00 +0100
Re: Python 4 and ‘python3’ (was: /usr/bin/python2 shebangs) Barry Warsaw <barry@debian.org> - 2016-11-02 15:10 +0100
Re: Python 4 and ‘python3’ Ben Finney <bignose@debian.org> - 2016-11-02 23:30 +0100
Re: Python 4 and ‘python3’ Barry Warsaw <barry@debian.org> - 2016-11-02 23:50 +0100
Re: Python 4 and ‘python3’ Ben Finney <bignose@debian.org> - 2016-11-03 00:50 +0100
Re: /usr/bin/python2 shebangs Thomas Goirand <zigo@debian.org> - 2016-11-07 11:50 +0100
Re: /usr/bin/python2 shebangs Barry Warsaw <barry@debian.org> - 2016-11-07 16:10 +0100
Re: /usr/bin/python2 shebangs Scott Kitterman <debian@kitterman.com> - 2016-11-07 16:30 +0100
Re: /usr/bin/python2 shebangs Thomas Goirand <zigo@debian.org> - 2016-11-09 17:10 +0100
Re: /usr/bin/python2 shebangs Paul Wise <pabs@debian.org> - 2016-11-10 03:40 +0100
csiph-web