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


Groups > comp.lang.python > #82487

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

Path csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <zachary.ware@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.029
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:: [': 0.04; 'that?': 0.05; 'subject:Python': 0.06; 'installed.': 0.07; 'wrote': 0.14; '"python': 0.16; 'bit.': 0.16; 'runtime.': 0.16; 'subject:Dev': 0.16; 'subject:edition': 0.16; 'visualizing': 0.16; 'sat,': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'subject:] ': 0.20; 'written': 0.21; 'code,': 0.22; 'tests': 0.22; 'to:name:python-list@python.org': 0.22; 'decide': 0.24; 'pass': 0.26; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; '13,': 0.31; 'accidentally': 0.31; 'complete,': 0.31; 'another': 0.32; "i'd": 0.34; 'could': 0.34; 'tool': 0.35; 'but': 0.35; 'received:google.com': 0.35; "didn't": 0.36; 'useful': 0.36; 'sometimes': 0.38; 'depends': 0.38; 'to:addr :python-list': 0.38; 'little': 0.38; 'realize': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'even': 0.60; 'year.': 0.61; 'took': 0.61; 'back': 0.62; "you'll": 0.62; 'such': 0.63; 'happen': 0.63; 'myself': 0.63; 'choose': 0.64; 'pick': 0.64; 'family': 0.73; 'eyes': 0.78; 'subject:survey': 0.84; 'edwards': 0.91; 'mistakenly': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=b1j2yDty5049d9QyFEQxh6YRHzpB305DDArpgOE2t3k=; b=Iy9JZxiyA1KLEKsHvWdXHy4mT7mpWl0D+IjaslsAxy+EAaxTaO+HmYai4gXnCU4CSk 2TjQq+xiqUUpOXfdtASVXS25JqvNecE4RNANXBwzzlEDTMZwyW/+95kICMudTCnprD3V wjWZOknO+x5fsOFOyXP9v8byQuiJOJhHl23lznaYIKipyxfOx2Z6XhVvzPlYndYjcSIA aMPO8JzEhnYrlbQri4BbwUKi8SmCtj7PqDAju2uP5vPySub84w8MIed10JRj4/NmZ2gk yGZ03uyRIQJIW5amZHkV3XMr1Hxm8k7UoApYXQ9NfoRC/Rn8FHVKdlBDiMUean9CzQBZ jI1Q==
X-Received by 10.60.57.10 with SMTP id e10mr13963768oeq.45.1418492880909; Sat, 13 Dec 2014 09:48:00 -0800 (PST)
MIME-Version 1.0
Sender zachary.ware@gmail.com
In-Reply-To <m6hn98$mae$1@reader1.panix.com>
References <CAMA3c488xXJFVrO8Qt82A-oAQ3AAoavB956eYTNsd6TXO5g8hQ@mail.gmail.com> <341920B4-12B5-499D-95FC-5572338AE602@stufft.io> <CAN-Kwu2mFEr61qNiC1oZf6qgapngcRN73J2CxZRUBmp6y+MB_A@mail.gmail.com> <CAPJVwBmW7paDFFPgV3=RvnVwXeHreMRmWSCkvg6QyKz1x_aC4w@mail.gmail.com> <mailman.16849.1418286001.18130.python-list@python.org> <m6hn98$mae$1@reader1.panix.com>
From Zachary Ware <zachary.ware+pylist@gmail.com>
Date Sat, 13 Dec 2014 11:47:40 -0600
X-Google-Sender-Auth mdAB4xy1OZguXOK3KfK6RrMREmw
Subject Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition
To "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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 <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>
Newsgroups comp.lang.python
Message-ID <mailman.16936.1418492883.18130.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1418492883 news.xs4all.nl 2849 [2001:888:2000:d::a6]:41117
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82487

Show key headers only | View raw


On Sat, Dec 13, 2014 at 9:51 AM, Grant Edwards <invalid@invalid.invalid> wrote:
> On 2014-12-10, Bruno Cauet <brunocauet@gmail.com> wrote:
>
>> Nathaniel, I'm not sure about that: even if the code is 2- and 3-compatible
>> you'll pick one runtime.
>
> Why do you say that?
>
> I have both installed.  I use both.  Sometimes it depends on which
> OS/distro I'm running, sometimes other reasons prevail.

Just to give another anecdote, I wrote myself a little tool last night
for visualizing healthcare scenarios to help my family decide which
insurance plan to choose this year.  I didn't realize until I added
'subTest's to the tests and mistakenly invoked them as "python -m
test" instead of "python3 -m test" that I'd accidentally written it to
be 2/3 compatible!  I took the subTest back out, and tests pass with
both interpreters.

-- 
Zach

(If such a tool could be useful to anyone, I can post it on
BitBucket/GitHub.  Its support for all possibilities is far from
complete, but it helped us a bit.  Also, I make no guarantees that you
won't want to gouge your eyes out reading the code, but that
*shouldn't* happen ;)

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


Thread

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition Bruno Cauet <brunocauet@gmail.com> - 2014-12-10 18:32 +0100
  Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition Grant Edwards <invalid@invalid.invalid> - 2014-12-13 15:51 +0000
    Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-12-13 11:47 -0600

csiph-web