Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Ben Finney Newsgroups: linux.debian.maint.python Subject: Re: Could somebody change the alioth documentation, have a buster roadmap and know what's missing to move to python 3 entirely. Date: Thu, 07 Jun 2018 11:10:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Jun 7 09:03:46 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-3.457 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, GMAIL=1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, RDNS_NONE=0.793] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 X-Injected-Via-Gmane: http://gmane.org/ Lines: 58 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney Cancel-Lock: sha1:Ab6dmjbhCHwKgRKNH+lvdxHb7q4= X-Mailing-List: archive/latest/16032 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/85a7s7hstq.fsf@benfinney.id.au Approved: robomod@news.nic.it Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 07 Jun 2018 19:03:13 +1000 X-Original-Message-ID: <85a7s7hstq.fsf@benfinney.id.au> X-Original-References: X-Original-X-Complaints-To: usenet@blaine.gmane.org Xref: csiph.com linux.debian.maint.python:10623 shirish शिरीष writes: > On 06/06/2018, shirish शिरीष wrote: > > I have also been trying to understand which packages/modules are > > remaining for python 3 to be the default-python There is no “default Python” in Debian. Python 2 and Python 3 are separate run-time systems, and are provided by different packages. > > $ apt-cache policy python The ‘python’ package is always Python 2. To find the default version of Python 3, you want the ‘python3’ package. > I just read Andrey's mail at > https://lists.debian.org/debian-python/2018/06/msg00024.html . Please > CC me if somebody replies. Please subscribe to the forum in order to participate. > Maybe it would have been better to say that right now python gives > > $ python --version > Python 2.7.15 Yes. The ‘/usr/bin/python’ program is the Python 2 interpreter. There are no plans yet for that to change. The ‘/usr/bin/python2’ program is the Python 2 interpreter, and always will be. The ‘/usr/bin/python3’ program is the Python 3 interpreter, and always will be. There is no command in Debian for “the default Python”, because Python 2 and Python 3 are separate run-time systems that are not fully compatible. By using one of the above commands, you are explicitly declaring which Python run-time system to use. > To be more precise, I meant to know if 'Bullseye' i.e Debian 11 would > have python 3.0 as default or not. Bullseye will have both Python 2 and Python 3 available to install. I know of no plan to remove either of them in Bullseye. There is no “default Python” in Debian. To run a Python interpreter, you choose which major version you want to run; they are not meant to be compatible, and (as you pointed out) they are both in common use. So there is no default. I hope that helps clarify the issue. -- \ “Come on, if your religion is so vulnerable that a little bit | `\ of disrespect is going to bring it down, it's not worth | _o__) believing in, frankly.” —Terry Gilliam, 2005-01-18 | Ben Finney