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


Groups > comp.lang.python > #30564

Re: Coexistence of Python 2.x and 3.x on same OS

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:Python': 0.05; 'cpython': 0.05; 'python': 0.09; 'edward': 0.09; 'obey': 0.09; 'subject:same': 0.09; 'url:peps': 0.09; 'windows,': 0.09; 'yet.': 0.13; 'properly': 0.15; '3.3,': 0.16; 'complicated,': 0.16; 'entries,': 0.16; 'invoking': 0.16; 'registry': 0.16; 'wrote:': 0.17; 'url:dev': 0.17; 'windows': 0.19; 'versions': 0.20; 'trying': 0.21; '2.x': 0.22; '3.2': 0.22; '3.x': 0.22; 'stick': 0.22; 'allows': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'decide': 0.28; 'install': 0.29; 'url:python': 0.32; 'file': 0.32; 'launch': 0.32; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'received:209.85': 0.35; 'message- id:@gmail.com': 0.36; 'url:org': 0.36; 'should': 0.36; 'problems': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'release': 0.39; 'received:192': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'latest': 0.61; 'situation': 0.62; 'between': 0.63; 'series': 0.63; 'skip:6 10': 0.63; 'more': 0.63; 'confusing': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=ghcbgYlyM0lHHFIGGV/Qci6lcx14Bb8Bqpx1AYLq2tw=; b=eww84LCYyKXZ3knOuNQ5XEScuAWQh3Ifm3ChdxzaaLkBPA0rPXu+ZJenVdw7P4FaOW l11qZVmhKqUhhIhWUn1bo+Yh8iv3LvsRqqV+dADaFTgv/wnA5eil5SiUTzGBgED3+rPt cIjcC4nXH+1W//w9g4u3Q+FfKSwRTUF2pz3sxu4n47NDUdRZGMuiG8QwL3DiV+5Tl4rg 1ptzI/u3lrcBxzvwNKl2o+SrnbenSldNiGX3JNLgb1Ne9YpdQTPPAoydqgw4s5MQVBzh 3BfuItm6w/ILiH5KKTIYzeWMjK2/kT1L/uwVJL2mkhaHKhTMMS+JPwAqxBF7EDPSCZFl bSbQ==
Date Sun, 30 Sep 2012 14:38:00 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version 1.0
To "comp.lang.python" <python-list@python.org>
Subject Re: Coexistence of Python 2.x and 3.x on same OS
References <k4a5m9$l2k$1@dont-email.me>
In-Reply-To <k4a5m9$l2k$1@dont-email.me>
X-Enigmail-Version 1.4.4
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1681.1349033884.27098.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1349033884 news.xs4all.nl 6909 [2001:888:2000:d::a6]:49890
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30564

Show key headers only | View raw


On 2012.09.30 14:14, Edward Diener wrote:
> The situation is so confusing on Windows, where the file associations, 
> registry entries, and other internal software which allows a given 
> Python release to work properly when invoking Python is so complicated, 
> that I have given up on trying to install more than one Python release 
> and finding a relaible, foolproof way of switching between them. So 
> although I would like to use the latest 3.x series on Windows I have 
> decide to stick with the latest 2.x series instead because much software 
> using Python does not support 3.x yet.

http://www.python.org/dev/peps/pep-0397/

Unix-based OSes should already obey the shebang line, and on Windows,
there's py.exe in 3.3 that will launch the intended version based on
that shebang line. While I was using the alpha/beta versions of 3.3, I
had no problems invoking either 3.2 or 3.3 with the shebang line on Windows.
-- 
CPython 3.3.0 | Windows NT 6.1.7601.17835

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


Thread

Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-09-30 15:14 -0400
  Re: Coexistence of Python 2.x and 3.x on same OS Andrew Berg <bahamutzero8825@gmail.com> - 2012-09-30 14:38 -0500
    Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-09-30 23:06 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS Andrew Berg <bahamutzero8825@gmail.com> - 2012-09-30 22:54 -0500
      Re: Coexistence of Python 2.x and 3.x on same OS Dave Angel <d@davea.name> - 2012-09-30 23:55 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-01 09:28 +0100
      Re: Coexistence of Python 2.x and 3.x on same OS Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-01 13:32 -0400
        Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-10-05 08:06 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS David Robinow <drobinow@gmail.com> - 2012-10-01 15:36 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-01 20:46 +0100
    Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-10-05 08:16 -0400
  Re: Coexistence of Python 2.x and 3.x on same OS Alister <alister.ware@ntlworld.com> - 2012-10-01 16:02 +0000
    Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-10-05 08:15 -0400
      Re: Coexistence of Python 2.x and 3.x on same OS Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-05 13:29 +0100
      Re: Coexistence of Python 2.x and 3.x on same OS Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-05 17:32 -0400
        Re: Coexistence of Python 2.x and 3.x on same OS Edward Diener <eldiener@tropicsoft.invalid> - 2012-10-05 20:51 -0400
  Re: Coexistence of Python 2.x and 3.x on same OS wxjmfauth@gmail.com - 2012-10-06 00:27 -0700
    Re: Coexistence of Python 2.x and 3.x on same OS Ian Kelly <ian.g.kelly@gmail.com> - 2012-10-06 21:13 -0600

csiph-web