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


Groups > comp.lang.python > #15625

Re: Use and usefulness of the as syntax

Subject Re: Use and usefulness of the as syntax
From Tim Wintle <tim.wintle@teamrubber.com>
References <4ebe5ee6$0$25872$426a74cc@news.free.fr>
Organization Team Rubber
Date 2011-11-12 13:03 +0000
Newsgroups comp.lang.python
Message-ID <mailman.2672.1321103019.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, 2011-11-12 at 12:56 +0100, candide wrote:

> So what is the pragmatics of the as syntax ?

Another case:

try:
    import json
except:
    import simplejson as json


(same goes for several modules where the C implementation may or may not
be available)

Tim

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


Thread

Use and usefulness of the as syntax candide <candide@free.invalid> - 2011-11-12 12:56 +0100
  Re: Use and usefulness of the as syntax Chris Angelico <rosuav@gmail.com> - 2011-11-12 23:27 +1100
  Re: Use and usefulness of the as syntax Arnaud Delobelle <arnodel@gmail.com> - 2011-11-12 12:29 +0000
    Re: Use and usefulness of the as syntax candide <candide@free.invalid> - 2011-11-17 16:48 +0100
      Re: Use and usefulness of the as syntax alex23 <wuwei23@gmail.com> - 2011-11-17 18:38 -0800
  Re: Use and usefulness of the as syntax Tim Chase <python.list@tim.thechases.com> - 2011-11-12 06:43 -0600
  Re: Use and usefulness of the as syntax Rafael Durán Castañeda <rafadurancastaneda@gmail.com> - 2011-11-12 13:48 +0100
    Re: Use and usefulness of the as syntax 0xfn <oleg.rimko@gmail.com> - 2011-11-13 00:55 -0800
      Re: Use and usefulness of the as syntax Terry Reedy <tjreedy@udel.edu> - 2011-11-13 17:16 -0500
  Re: Use and usefulness of the as syntax Tim Wintle <tim.wintle@teamrubber.com> - 2011-11-12 13:03 +0000
  Re: Use and usefulness of the as syntax Mel Wilson <mwilson@the-wire.com> - 2011-11-12 08:59 -0500
  Re: Use and usefulness of the as syntax candide <candide@free.invalid> - 2011-11-17 16:48 +0100

csiph-web