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


Groups > comp.lang.python > #98067

Re: Python 2 vs Python 3 for teaching

Path csiph.com!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Python 2 vs Python 3 for teaching
Date Mon, 2 Nov 2015 09:03:19 +1100
Lines 20
Message-ID <mailman.37.1446415402.4463.python-list@python.org> (permalink)
References <CAPTjJmoPtk30rzoDOFnN5evRrd3kDtvie1E1F0Wu_DxWTsc+jA@mail.gmail.com> <CAJ4+4apy=ibu4r6d5vj707xoLYEty7MdaOtE+9oi3VOnehB+XA@mail.gmail.com> <mailman.22.1446388053.4463.python-list@python.org> <87y4ehzeli.fsf@nightsong.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de ZeEKv4sOHXwgfMBxKBqEjA7REmZibA7Bl87k+yOw/C0w==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'async': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hmm.': 0.16; 'received:209.85.223.173': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; "ubuntu's": 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cloud': 0.20; 'am,': 0.23; 'decide': 0.23; '(or': 0.23; 'seems': 0.23; 'bigger': 0.23; 'header:In- Reply-To:1': 0.24; 'mon,': 0.24; 'paul': 0.24; 'chris': 0.26; 'message-id:@mail.gmail.com': 0.27; 'then.': 0.27; "i'm": 0.30; "we're": 0.30; 'code': 0.30; 'probably': 0.31; 'older': 0.32; 'maybe': 0.33; 'ubuntu': 0.33; '(for': 0.34; 'received:google.com': 0.35; 'next': 0.35; 'could': 0.35; 'done': 0.35; 'appearance': 0.35; 'nov': 0.35; 'but': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'keyword': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'anything': 0.38; 'sure': 0.39; 'needing': 0.63; 'safe': 0.63; 'improvements': 0.66; "they're": 0.66; 'us,': 0.69; 'teach': 0.70; '3.4': 0.84; 'chrisa': 0.84; 'to:none': 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=rXkAvDgdx7TEpmL9WsW35DeXCIxt8qgYvGTGp3+/u8M=; b=w6gO7WKJ5jdzqX4X+99P4gOI5aAYQ3BL2NZsZPe0Na/U1sSZhTZcuThXTf1Qd+/ocA Ln/A06bv0QvxuJzeHEeWc98EElb45EfYSoG0HJM4dN6L5gAj7OUSevz1p5Ng5CrCdNY+ 763Uu1AJXc6/kZR6ruB30F9rBE4nGtpnHYfULjQ9rVHl2RbDMwW9ZW4erRGUWC3B7aUY DIsWzMkOc/t/opqZQqqucGsJkl0+L1UyY4nvQ4uBe6jwacktlH+R2BhNOEaojqVJwcNx 5uZUSQF4aUFmENHriEDqhUQjrcGgeMnX/Y9kJBkqjIarP3iHPgGIFEYi7LW9olndDr/e zz6w==
X-Received by 10.107.10.210 with SMTP id 79mr19707290iok.31.1446415399455; Sun, 01 Nov 2015 14:03:19 -0800 (PST)
In-Reply-To <87y4ehzeli.fsf@nightsong.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:98067

Show key headers only | View raw


On Mon, Nov 2, 2015 at 6:47 AM, Paul Rubin <no.email@nospam.invalid> wrote:
> Chris Angelico <rosuav@gmail.com> writes:
>> We teach 3.4 (because that's what's available on the Ubuntu VMs that
>> we're recommending; anything 3.2+ will probably work just the same),
>> and that's it.
>
> The async keyword seems like one of Py3's bigger improvements and it
> makes its appearance in 3.5, iirc.

Yeah. Not currently available to us, since we're recommending (for
consistency) that students use the Cloud 9 browser-based IDE, but I'm
sure when Ubuntu's next LTS comes out, it'll include 3.5 (or maybe
3.6), so we'll start using that then.

Taking advantage of new features can be done as we decide they're safe
to use, without needing any backward compatibility breaks (apart from,
of course, the async/await code not working on older Pythons). Hmm.
Maybe this should be a workshop... that could be fun.

ChrisA

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


Thread

Re: Python 2 vs Python 3 for teaching Chris Angelico <rosuav@gmail.com> - 2015-11-02 01:27 +1100
  Re: Python 2 vs Python 3 for teaching Paul Rubin <no.email@nospam.invalid> - 2015-11-01 11:47 -0800
    Re: Python 2 vs Python 3 for teaching Chris Angelico <rosuav@gmail.com> - 2015-11-02 09:03 +1100

csiph-web