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

From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: Python 2 vs Python 3 for teaching
Date 2015-11-02 09:03 +1100
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>

Show all headers | 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