Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10631

Re: Could somebody change the alioth documentation, have a buster roadmap and know what's missing to move to python 3 entirely.

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Ben Finney <bignose@debian.org>
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 Fri, 08 Jun 2018 00:10:01 +0200
Message-ID <vYbgt-4NU-13@gated-at.bofh.it> (permalink)
References <vXIeu-4lA-15@gated-at.bofh.it> <vXJWV-5dH-3@gated-at.bofh.it> <vXZ5D-5Pu-9@gated-at.bofh.it> <vXZS1-65y-3@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jun 7 22:09:20 2018
Old-Return-Path <debian-python@m.gmane.org>
X-Amavis-Spam-Status No, score=-5.957 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, 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 41
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 <bignose+hates-spam@benfinney.id.au>
Cancel-Lock sha1:HidI6lqr/AUlHJT2xzEIA7reUlo=
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16041
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/8536xyi70u.fsf@benfinney.id.au
Approved robomod@news.nic.it
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 08 Jun 2018 08:08:49 +1000
X-Original-Message-ID <8536xyi70u.fsf@benfinney.id.au>
X-Original-References <CADdDZRntSyvtWmEKwXMMZkbnr=Vg=O-BHxD3k=_mkH8n+DUkUg@mail.gmail.com> <CADdDZR=s=8VAApy5UH8F0YwJz-kJtvFnXz7ktc3WMZenTuZLYg@mail.gmail.com> <85a7s7hstq.fsf@benfinney.id.au> <CAOO6c=wUa5pN+KRfSrqNG+aqvU4U+2gheVoXdqJz4T3-W7GAcw@mail.gmail.com>
X-Original-X-Complaints-To usenet@blaine.gmane.org
Xref csiph.com linux.debian.maint.python:10631

Show key headers only | View raw


Ondrej Novy <novy@ondrej.org> writes:

> do I understand you correctly that there is no default Python in
> Debian? :)

:-) Hopefully a little polite repetition will help the point become
clearer, though Andrey said it plainly in the initial response.

Shirish, now that we've established there is no “default Python” in
Debian, you may want to know that there *is* a concept of the default
interpreter for *a specific Python major version*.

You can ask the Debian system. First choose which Python major version
(currently Python 2 or Python 3) you want, then run the command to ask
what interpreter command to use:

    $ pyversions --default  # What is the name of the default Python 2 interpreter command?
    python2.7

    $ py3version --default  # What is the name of the default Python 3 interpreter command?
    python3.6

Note that you can *only* ask about the default within a specific Python
major version. Each of those commands is installed by a completely
separate Python environment, and neither of them care about the other:

    $ dpkg --search $(which pyversions py3versions)
    python-minimal: /usr/bin/pyversions
    python3-minimal: /usr/bin/py3versions

The ‘pyversions’ command asks *only* about Python 2. The ‘py3versions’
commandasks *only* about Python 3.

The answer you get for “default interpreter” depends which Python major
version you choose to interrogate; there's no default choice.

-- 
 \     “If you pick up a starving dog and make him prosperous, he will |
  `\      not bite you. This is the principal difference between a dog |
_o__)                    and a man.” —Mark Twain, _Pudd'n'head Wilson_ |
Ben Finney

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Could somebody change the alioth documentation, have a buster roadmap  and know what's missing to move to python 3 entirely. shirish शिरीष <shirishag75@gmail.com> - 2018-06-06 17:10 +0200
  Re: Could somebody change the alioth documentation, have a buster  roadmap and know what's missing to move to python 3 entirely. Andrey Rahmatullin <wrar@debian.org> - 2018-06-06 17:30 +0200
  Re: Could somebody change the alioth documentation, have a buster  roadmap and know what's missing to move to python 3 entirely. shirish शिरीष <shirishag75@gmail.com> - 2018-06-06 19:00 +0200
    Re: Could somebody change the alioth documentation, have a buster  roadmap and know what's missing to move to python 3 entirely. Andrey Rahmatullin <wrar@debian.org> - 2018-06-06 20:10 +0200
    Re: Could somebody change the alioth documentation, have a buster roadmap and know what's missing to move to python 3 entirely. Ben Finney <bignose@debian.org> - 2018-06-07 11:10 +0200
      Re: Could somebody change the alioth documentation, have a buster  roadmap and know what's missing to move to python 3 entirely. Ondrej Novy <novy@ondrej.org> - 2018-06-07 12:00 +0200
        Re: Could somebody change the alioth documentation, have a buster roadmap and know what's missing to move to python 3 entirely. Ben Finney <bignose@debian.org> - 2018-06-08 00:10 +0200

csiph-web