Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Brian May Newsgroups: linux.debian.maint.python Subject: Re: Safest way to set python3 as default for `python` Date: Thu, 19 Jul 2018 09:30:01 +0200 Message-ID: References: X-Original-To: Stuart Prescott , debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Jul 19 07:20:10 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5 X-Greylist: delayed 536 seconds by postgrey-1.36 at bendel; Thu, 19 Jul 2018 07:19:56 UTC Organization: Debian MIME-Version: 1.0 Content-Type: text/plain X-Mailing-List: archive/latest/16137 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/87r2jzr98o.fsf@silverfish.pri Approved: robomod@news.nic.it Lines: 13 Sender: robomod@news.nic.it X-Original-Date: Thu, 19 Jul 2018 17:10:47 +1000 X-Original-Message-ID: <87r2jzr98o.fsf@silverfish.pri> X-Original-References: <85d0vl8guw.fsf@benfinney.id.au> Xref: csiph.com linux.debian.maint.python:10718 Stuart Prescott writes: > There's a reasonable number of things in /usr/bin with "#!/usr/bin/env > python" that would be unhappy with this configuration. I don't think binaries in /usr/bin should be using "#!/usr/bin/env python". These will also break with virtualenvs. Packaged programs in Debian should be using /usr/bin/python*. Having said that, I can confirm you are correct, this does appear to be common. -- Brian May