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


Groups > comp.lang.python > #94003

Re: Noob in Python. Problem with fairly simple test case

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; '(so': 0.07; 'default.': 0.07; 'subject:test': 0.07; 'cc:addr:python- list': 0.09; 'scripts': 0.09; 'complaining': 0.09; 'implies': 0.09; 'vast': 0.09; 'way:': 0.09; 'python': 0.10; 'python.': 0.11; '2.7': 0.13; '"your': 0.16; "(it's": 0.16; '(now': 0.16; '2.7?': 0.16; 'far)': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'least.': 0.16; 'ported': 0.16; 'py3': 0.16; 'specifics': 0.16; 'subject:Problem': 0.16; 'subject:case': 0.16; 'subject:simple': 0.16; 'support)': 0.16; 'wrote:': 0.16; 'shipped': 0.18; 'version.': 0.18; 'windows': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'work,': 0.21; 'default,': 0.22; 'code,': 0.23; 'third-party': 0.23; 'header:In- Reply-To:1': 0.24; 'script': 0.25; "doesn't": 0.26; 'developers': 0.26; 'linux': 0.26; 'fri,': 0.27; 'least': 0.27; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'transition': 0.27; 'sure,': 0.29; "i'm": 0.30; 'code': 0.30; 'actively': 0.30; "i'd": 0.31; 'guess': 0.31; 'probably': 0.31; "can't": 0.32; '[1]': 0.32; 'maybe': 0.33; 'point': 0.33; "d'aprano": 0.33; 'jump': 0.33; 'shift': 0.33; 'steven': 0.33; 'surprised': 0.33; 'ubuntu': 0.33; 'quickly': 0.34; 'received:google.com': 0.35; 'done': 0.35; 'supports': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'expect': 0.37; 'mac': 0.37; 'guys': 0.38; 'someone': 0.38; 'mean': 0.38; 'sure': 0.39; "didn't": 0.39; 'subject:with': 0.40; 'some': 0.40; 'easy': 0.60; "you'll": 0.61; 'default': 0.61; 'balance': 0.64; 'matter.': 0.66; "they're": 0.66; 'subject:. ': 0.67; 'jul': 0.72; 'adoption': 0.84; 'chrisa': 0.84; 'extent.': 0.84; "that'll": 0.84; 'to:none': 0.91; 'ships': 0.91; 'stretch': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=sMB6kfBqB8ZMzRpBTcT8ZFVQpUlIAKEuKYd/HOOtBYI=; b=Ty++w/R3xqEVTUsLHvCVRDg2YxGOBFFOIojoJZWmoUFkR6RBR/p62JZWB45Bn7ECaA x9LercUCXyC/qEmEbWEhDOfnKpWs3dkNRClqRzT5uXZxka4H5IG3AsjO5m4iOCzY0RIu sbRmb1AxAeW3n0DCHBJiaUivvRaxsVpr6cIc74I+pgXQXnsaehExXNC+OUK+JpzGkkC4 aPU1Rn7vRjwl6Ay9HEo1WJfbmFtAlImUnbybkLrRh37oeho531Tsr2f7ZKUnxVBjehSD el4adVjdC8pRhA7eVKQPoyGQYwg2UCGXTl96s0PikuCPe28OAFyvz5DECn+iBxfuqLT4 2YkQ==
MIME-Version 1.0
X-Received by 10.107.4.1 with SMTP id 1mr16405854ioe.10.1437130633834; Fri, 17 Jul 2015 03:57:13 -0700 (PDT)
In-Reply-To <55a8a50a$0$1638$c3e8da3$5496439d@news.astraweb.com>
References <0165e508-b3b4-4a95-b1bb-e115893056f8@googlegroups.com> <mailman.539.1436962316.3674.python-list@python.org> <79mdneVqW9UGgzrInZ2dnUU7-cOdnZ2d@giganews.com> <mailman.553.1437016291.3674.python-list@python.org> <049ae0f4-96d1-4155-8618-32c8931febb0@googlegroups.com> <mailman.554.1437018298.3674.python-list@python.org> <eb4472eb-665b-48bd-8c08-a371c6f1ad05@googlegroups.com> <mailman.610.1437077494.3674.python-list@python.org> <ea45d21b-fce2-4aa4-b02d-065c7ea4a0c7@googlegroups.com> <mo97j7$cri$1@ger.gmane.org> <mailman.615.1437089044.3674.python-list@python.org> <85d372eb-f39d-459d-be71-50ed7c9b966c@googlegroups.com> <55a86c1b$0$1657$c3e8da3$5496439d@news.astraweb.com> <mailman.622.1437102111.3674.python-list@python.org> <55a8a50a$0$1638$c3e8da3$5496439d@news.astraweb.com>
Date Fri, 17 Jul 2015 20:57:13 +1000
Subject Re: Noob in Python. Problem with fairly simple test case
From Chris Angelico <rosuav@gmail.com>
Cc "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.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>
Newsgroups comp.lang.python
Message-ID <mailman.640.1437130637.3674.python-list@python.org> (permalink)
Lines 39
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1437130637 news.xs4all.nl 2950 [2001:888:2000:d::a6]:40957
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:94003

Show key headers only | View raw


On Fri, Jul 17, 2015 at 4:47 PM, Steven D'Aprano <steve@pearwood.info> wrote:
>> Jessie's default should be 2.7, at least. Wheezy shipped 2.7, too;
>> it's only Squeeze (now out of support) that didn't ship any 2.7.x
>> Python. Are you sure you can't at least upgrade to 2.7?
>
> I'm not sure, I'm not actively involved in that specific project. All I know
> is that the guys are always complaining about Jessie, and that they're
> using 2.6.

Huh. Then maybe it's the other way: Jessie no longer ships or supports
2.6, so if 2.7 breaks the code, then so will Jessie. But I'm looking
over the 2.7 What's New page, and it honestly doesn't jump out at me
screaming "Your code will break!". Strange.

Anyway, the specifics don't matter. What matters is that there *are*
people who are using the system-provided Python, and that (so far)
that's Py2 for the majority of Linux distros. But that's definitely
changing; Ubuntu and Debian are both aiming toward a state of "ship
Python 3 by default, but if you want 2.7, you'll have to download it",
which implies that all system scripts will be ported to 3.x. Once that
happens, I expect that all Debian-derived distros will follow pretty
quickly (it's easy to transition if someone else has already done the
vast majority of the work, by which I clearly mean about 87.4%), and
non-Debian distros can probably take advantage of the prior work too,
to some extent. That'll shift the balance on Linux from "mostly Py2"
to "mostly Py3", and that'll have knock-on effects on Windows and Mac
OS too, as third-party script developers will find it advisable [1] to
write their code to match the predominantly available version.

> My guess is, the rate of Python 3 adoption is going to hit the tipping point
> in 2 or 3 years, after which time it will be *very* rapid.

Yep, I'd agree with that estimate. Debian Stretch (9) may or may not
switch; I'd be very surprised if Debian Buster (10) didn't have Py3 by
default.

ChrisA

[1] The question is, what did the archbishop find?

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


Thread

Noob in Python. Problem with fairly simple test case "Jason P." <suscricions@gmail.com> - 2015-07-15 04:44 -0700
  Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-15 22:11 +1000
    Re: Noob in Python. Problem with fairly simple test case Larry Hudson <orgnut@yahoo.com> - 2015-07-15 20:01 -0700
      Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-16 13:11 +1000
        Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-15 20:33 -0700
          Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-16 13:44 +1000
            Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-16 13:03 -0700
              Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-17 06:11 +1000
                Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-16 13:30 -0700
                Re: Noob in Python. Problem with fairly simple test case Emile van Sebille <emile@fenx.com> - 2015-07-16 14:27 -0700
                Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-17 09:24 +1000
                Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-16 17:30 -0700
                Re: Noob in Python. Problem with fairly simple test case Steven D'Aprano <steve@pearwood.info> - 2015-07-17 12:44 +1000
                Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-17 13:01 +1000
                Re: Noob in Python. Problem with fairly simple test case Steven D'Aprano <steve@pearwood.info> - 2015-07-17 16:47 +1000
                Re: Noob in Python. Problem with fairly simple test case wxjmfauth@gmail.com - 2015-07-17 02:15 -0700
                Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-17 20:57 +1000
                Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-16 21:15 -0700
                Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-17 15:16 +1000
                Re: Noob in Python. Problem with fairly simple test case Steven D'Aprano <steve@pearwood.info> - 2015-07-17 16:38 +1000
                Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-17 10:57 -0700
                Re: Noob in Python. Problem with fairly simple test case Laura Creighton <lac@openend.se> - 2015-07-17 22:38 +0200
                Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-18 14:12 -0700
                Re: Noob in Python. Problem with fairly simple test case Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-17 23:03 +0100
                Re: Noob in Python. Problem with fairly simple test case Terry Reedy <tjreedy@udel.edu> - 2015-07-17 18:45 -0400
                Re: Noob in Python. Problem with fairly simple test case wxjmfauth@gmail.com - 2015-07-18 00:30 -0700
                Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-18 16:18 -0700
                Re: Noob in Python. Problem with fairly simple test case Laura Creighton <lac@openend.se> - 2015-07-19 11:09 +0200
                Re: Noob in Python. Problem with fairly simple test case Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-19 10:25 -0700
                Re: Noob in Python. Problem with fairly simple test case MRAB <python@mrabarnett.plus.com> - 2015-07-19 18:45 +0100
                Re: Noob in Python. Problem with fairly simple test case Laura Creighton <lac@openend.se> - 2015-07-19 19:50 +0200
                Off-topic: Europe [was Re: Noob in Python. Problem with fairly simple test case] Steven D'Aprano <steve@pearwood.info> - 2015-07-20 12:30 +1000
                Re: Noob in Python. Problem with fairly simple test case Emile van Sebille <emile@fenx.com> - 2015-07-17 16:15 -0700
                Re: Noob in Python. Problem with fairly simple test case Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-17 08:26 -0400
        Re: Noob in Python. Problem with fairly simple test case Larry Hudson <orgnut@yahoo.com> - 2015-07-16 20:49 -0700
    Re: Noob in Python. Problem with fairly simple test case "Jason P." <suscricions@gmail.com> - 2015-07-21 10:38 -0700
      Re: Noob in Python. Problem with fairly simple test case Chris Angelico <rosuav@gmail.com> - 2015-07-22 03:48 +1000

csiph-web