From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Balint Reczey Newsgroups: gmane.emacs.bugs Subject: bug#45655: Please use 'python3' command instead of 'python' Date: Sun, 10 Jan 2021 18:49:06 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24708"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45655@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 10 18:50:47 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kyerW-0006I5-4y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 18:50:46 +0100 Original-Received: from localhost ([::1]:59942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyerV-0000st-5w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Jan 2021 12:50:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyeqo-0000nD-UR for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 12:50:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43316) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyeqo-00087L-Mw for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 12:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyeqo-0007r1-L2 for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2021 12:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Balint Reczey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jan 2021 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 45655-submit@debbugs.gnu.org id=B45655.161030096930133 (code B ref 45655); Sun, 10 Jan 2021 17:50:02 +0000 Original-Received: (at 45655) by debbugs.gnu.org; 10 Jan 2021 17:49:29 +0000 Original-Received: from localhost ([127.0.0.1]:54859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyeqG-0007pw-W7 for submit@debbugs.gnu.org; Sun, 10 Jan 2021 12:49:29 -0500 Original-Received: from youngberry.canonical.com ([91.189.89.112]:35017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyeqD-0007pV-0L for 45655@debbugs.gnu.org; Sun, 10 Jan 2021 12:49:25 -0500 Original-Received: from mail-yb1-f199.google.com ([209.85.219.199]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kyeq6-0006vh-JF for 45655@debbugs.gnu.org; Sun, 10 Jan 2021 17:49:18 +0000 Original-Received: by mail-yb1-f199.google.com with SMTP id b123so22129351ybh.17 for <45655@debbugs.gnu.org>; Sun, 10 Jan 2021 09:49:18 -0800 (PST) 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:cc; bh=4eUqJ0U73i9u1Q1V7euMEVT/kQlqZCT+zSrfXbBk+Jw=; b=QDNNYCeniseHyHoA7PFe0C17l0+l0r0uUuCY9vHCtXqwMFYhssPUyk2uxxpMpZlvkS wwonj8qzM9ETIZPEx3aOCIURq7i6Pxc2kOc+XjJ5Eo3pTH90uQ7r7dKtiGAt3whZ1f+w 1jm4gqtrG3AKxAx//BElWixBWhossGjrRfJehzkxVqKyrb5E9U48Vhj5sCSIrxEqQXMU i4M2eHOV/GKayEnrhNtpDVOg+uvCmlc0jU/CNV0uqGgkgE0MAKlRcU+hgQ/LWlIUXmiS BUsoQQSk60sXAv/sSu6GysHvsjXJLChnbGgu1Wqap6A7pWvrinZspPmFPLATFw7atmrq upqw== X-Gm-Message-State: AOAM533wdxa7pft9JCWK8hXLGB3HyzUqwB+JpaVgf+pLvAJUIe/J1Npz PHP5QSQutUxhrKQ6JdhcdGWqX28FLWuccpuPZuiV8KrA43nj3BK1hY1FaDh1w/Sp8/OldpoL6n4 mXDlgEGrvIL5cvR5/ql3DQUIb2waz5YAV5r0kv6VR9zRZ3c6v X-Received: by 2002:a25:42cc:: with SMTP id p195mr18971849yba.59.1610300957541; Sun, 10 Jan 2021 09:49:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKdk0KPYCEic/n6GoKofCAIquYtZc4rD8ItkrhY9+xNI925VPZm9bJOLpQhbib1dj1hKPQFOycAmzvtFHMPOg= X-Received: by 2002:a25:42cc:: with SMTP id p195mr18971823yba.59.1610300957230; Sun, 10 Jan 2021 09:49:17 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:197653 Archived-At: Hi Stefan, On Sun, Jan 10, 2021 at 6:42 PM Stefan Monnier wrote: > > > Python 2 reached EOL about a year ago thus the 'python' command may be > > missing on some systems. > > 'python3' is the standard way of invoking the Python 3 interpreter, > > thus Emacs would have a better chance trying that. > > At least here on Debian, `python` redirects to `python3` or `python2` > depending on some user choice (by installing either `python-is-python3` > or `python-in-python2`). > > So I think it makes a lot of sense to keep using `python` rather than > `python3`. I don't think keeping `python` is a good idea, this would make Emacs considered to be buggy in Debian. Please see https://wiki.debian.org/Python : ... NOTE: Debian testing (bullseye) has removed the "python" package and the '/usr/bin/python' symlink due to the deprecation of Python 2. No packaged scripts should depend on the existence of '/usr/bin/python': if they do, that is a bug that should be reported to Debian. You can use the 'python-is-python3' or 'python-is-python2' packages to restore an appropriate '/usr/bin/python' symlink for third-party or legacy scripts. ... Cheers, Balint -- Balint Reczey Ubuntu & Debian Developer