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


Groups > comp.lang.python > #102118

Re: python-2.7.3 vs python-3.2.3

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Matt Wheeler <m@funkyhat.org>
Newsgroups comp.lang.python
Subject Re: python-2.7.3 vs python-3.2.3
Date Tue, 26 Jan 2016 14:34:26 +0000
Lines 29
Message-ID <mailman.8.1453818895.2338.python-list@python.org> (permalink)
References <201601260726.55545.gheskett@wdtv.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de Lk1D6LCdhKqa7SwcuTwrsAqh9VTqNbuxQ873LgP7OV9w==
Return-Path <m@funkyhat.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'executable': 0.07; 'cc:addr:python-list': 0.09; 'python': 0.10; '2.7': 0.13; 'subject:python': 0.14; '2016': 0.16; 'executable,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:2.7.3': 0.16; 'wrote:': 0.16; 'versions': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '3.2': 0.22; 'minor': 0.22; 'cc:no real name:2**0': 0.22; '(or': 0.23; 'written': 0.24; 'header:In- Reply-To:1': 0.24; 'script': 0.25; 'supported': 0.27; 'message- id:@mail.gmail.com': 0.27; 'another': 0.32; 'though.': 0.33; 'received:google.com': 0.35; 'quite': 0.35; 'received:74.125.82': 0.35; 'but': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'available.': 0.37; 'january': 0.38; 'version': 0.38; 'subject:-': 0.39; 'your': 0.60; 'provide': 0.61; 'default': 0.61; 'more': 0.63; 'different': 0.63; 'from:addr:m': 0.84; 'one).': 0.84
X-Virus-Scanned Debian amavisd-new at membrane.funkyhat.net
X-Gm-Message-State AG10YOQkgX2iRo67ICTwjr7s4FTeEPpw1TCaofAKR9hvTvxLSDsAVpg3Pgxgru0iCpXOH9lIH/bB9bv2hVEXAQ==
X-Received by 10.195.12.45 with SMTP id en13mr22233862wjd.99.1453818885616; Tue, 26 Jan 2016 06:34:45 -0800 (PST)
In-Reply-To <201601260726.55545.gheskett@wdtv.com>
X-Gmail-Original-Message-ID <CAG93HwHncb+grTbp+AFWrQxNJe6hxEN+aDbUUKLkMBQShTFfvA@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:102118

Show key headers only | View raw


On 26 January 2016 at 12:26, Gene Heskett <gheskett@wdtv.com> wrote:
> Greetings;
>
> I have need of using a script written for python3, but the default python
> on wheezy is 2.7.3.
>
> I see in the wheezy repos that 3.2.3-6 is available.
>
> Can/will they co-exist peacefully?

Yes, python packages for different minor versions do not clash with
one another on Debian (or any other system I am aware of).

The `python` executable is provided by a version of Python 2 (decided
by the "alternatives" system on Debian if there is more than one).

Python 3 packages will only provide a `python3` executable, not
`python`, so everything will continue to work as it currently does.


The only slight issue you might encounter is that Python 3.2 is quite
old now and actually not as well supported as Python 2.7 (many
projects support Python 2.7 or 3.3+ only). Best to just try out your
script and find out though.


-- 
Matt Wheeler
http://funkyh.at

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: python-2.7.3 vs python-3.2.3 Matt Wheeler <m@funkyhat.org> - 2016-01-26 14:34 +0000

csiph-web