Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12771
| Path | csiph.com!weretis.net!feeder7.news.weretis.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Sandro Tosi <morph@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: The python command in Debian |
| Date | Thu, 16 Jul 2020 18:10:02 +0200 |
| Message-ID | <AteCm-x7-25@gated-at.bofh.it> (permalink) |
| References | <AqEMF-3CH-3@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Jul 16 16:03:42 2020 |
| Old-Return-Path | <sandro.tosi@gmail.com> |
| X-Amavis-Spam-Status | No, score=-6.5 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| 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=7fHImPa7XbzGxV6nHh/7IYYTHeWO8J8e5Icy3meuFf4=; b=QM1gsy4Hr+ze7LY+uOb1Y/JXopcA0HOoXI3TC5kDw1AamhisrfMWSU1fG9/hgX+Zd8 IRQHLe15PgpQ4Zqwtq0t7+OnzuE62FUGe+pLgqwjPNDa3bTEilq54tmOcHtEvaCCw91t YFoy6EpGcuTTcxQX3RH2MJjfEBwUTGRmQnr+IhLJh8CqFWh3tosnBwPX1mmQv6I7Ep0L kRkZfxNC4vbdqAYLJ1Wbfd20e7mOaBH7/cSxFizk5JUJS/LnEETPugqDtazNqRtD0Vpj tx+E4IL8uyUZ5hUfv6Ut2IgB0I1kZsg4fy1Rf3bGDHd53nXKRBm/aG2lQ4PesdqsfQ/E ARcw== |
| X-Gm-Message-State | AOAM531RjXc5FcZ+iR2+E7qZhZmfCjViYphVWc/53abjJYJF6Z3TdNRV tppojNdx9w06lLUdOqhTqalilmZVLlM8UCW0vI3/ENUwtpA= |
| X-Google-SMTP-Source | ABdhPJwq5HvRcwQg+c8sJ1nB4XNcRXL/RB3ufZ07dohMBcsZpZYN8QOOajh+C1scAVVKoUpMPwHKetw0HXIGoB+VTlo= |
| X-Received | by 2002:a0c:b88d:: with SMTP id y13mr5102072qvf.82.1594915406428; Thu, 16 Jul 2020 09:03:26 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/18509 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CAB4XWXx8M4+eRKDo41Z+0CMoGC4VvqZbvn1s0=CPVjbUCko9VQ@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 44 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 16 Jul 2020 12:03:00 -0400 |
| X-Original-Message-ID | <CAB4XWXx8M4+eRKDo41Z+0CMoGC4VvqZbvn1s0=CPVjbUCko9VQ@mail.gmail.com> |
| X-Original-References | <8658a8a4-82fb-030d-57d8-81c95ba5158e@debian.org> |
| Xref | csiph.com linux.debian.maint.python:12771 |
Show key headers only | View raw
> It seems to be a little bit more controversial what should happen to the python > command in the long term. Some people argue that python should never point to > python3, because it's incompatible, > however Debian will have difficulties to > explain that decision to users who start with Python3 and are not aware of the 2 > to 3 transition. can you explain this point? i think if a new developer starts with python3 now (and i have plenty of examples at my company) they just use `python3` on the commandline, shebangs, venv, etc. I dont see the confusion we would create. > So yes, in the long term, Debian should have a python command > again. I dont think that's the right decision. PEP 0394 (https://www.python.org/dev/peps/pep-0394/) allows distribution not to ship `python` at all: https://www.python.org/dev/peps/pep-0394/#for-python-runtime-distributors * If the python command is installed, it is expected to invoke either the same version of Python as the python3 command or as the python2 command. * Distributors may choose to set the behavior of the python command as follows: ** python2, ** python3, ** not provide python command, ** allow python to be configurable by an end user or a system administrator. > One solution could be not to ship the python command in bullseye, forcing users > to adjust their local installations. it is my opinion that that's what we should do: not ship `python` at all and have users/packagers/developers use either python2 or python3 as needed, and not to reintroduce `python` at a later time. Regards, -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
The python command in Debian Matthias Klose <doko@debian.org> - 2020-07-09 15:30 +0200
Re: The python command in Debian Jeremy Stanley <fungi@yuggoth.org> - 2020-07-09 19:00 +0200
Re: The python command in Debian paultag@debian.org - 2020-07-09 19:50 +0200
Re: The python command in Debian Ondrej Novy <novy@ondrej.org> - 2020-07-09 21:50 +0200
Re: The python command in Debian Fabrice BAUZAC-STEHLY <noon@mykolab.com> - 2020-07-13 18:30 +0200
Re: The python command in Debian Matthias Klose <doko@debian.org> - 2020-07-13 19:30 +0200
Re: The python command in Debian Ondrej Novy <novy@ondrej.org> - 2020-07-14 11:00 +0200
Re: The python command in Debian Piotr Ożarowski <piotr@debian.org> - 2020-07-14 11:20 +0200
Re: The python command in Debian Rene Engelhard <rene.engelhard@mailbox.org> - 2020-07-18 08:50 +0200
Re: The python command in Debian Sebastian Humenda <shumenda@gmx.de> - 2020-07-18 10:30 +0200
Re: The python command in Debian debacle@debian.org - 2020-07-18 10:40 +0200
Re: The python command in Debian Dmitry Shachnev <mitya57@debian.org> - 2020-07-18 11:30 +0200
Re: The python command in Debian Sandro Tosi <morph@debian.org> - 2020-07-16 18:10 +0200
Re: The python command in Debian "Nicolas Dandrimont" <olasd@debian.org> - 2020-09-17 15:20 +0200
Re: The python command in Debian Matthias Klose <doko@debian.org> - 2020-09-17 15:40 +0200
Re: The python command in Debian Matthias Klose <doko@debian.org> - 2021-03-02 10:50 +0100
csiph-web