Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15625
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <tim.wintle@teamrubber.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.023 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; '(same': 0.07; 'json': 0.07; 'x-mailer:evolution 2.28.3': 0.07; 'available)': 0.09; 'cc:addr:python-list': 0.15; 'syntax': 0.15; 'except:': 0.16; 'subject:syntax': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; '+0100,': 0.23; 'header:In-Reply-To:1': 0.23; 'cc:2**0': 0.25; 'sat,': 0.28; 'import': 0.28; 'cc:addr:python.org': 0.29; 'try:': 0.34; 'modules': 0.35; 'another': 0.36; 'several': 0.38; 'goes': 0.39; 'subject:: ': 0.39; 'tim': 0.40; 'header:Reply- To:1': 0.70; 'reply-to:no real name:2**0': 0.71; '12:56': 0.84; 'candide': 0.84; 'received:bethere.co.uk': 0.84 |
| Subject | Re: Use and usefulness of the as syntax |
| From | Tim Wintle <tim.wintle@teamrubber.com> |
| To | candide <candide@free.invalid> |
| In-Reply-To | <4ebe5ee6$0$25872$426a74cc@news.free.fr> |
| References | <4ebe5ee6$0$25872$426a74cc@news.free.fr> |
| Content-Type | text/plain; charset="UTF-8" |
| Organization | Team Rubber |
| Date | Sat, 12 Nov 2011 13:03:29 +0000 |
| Mime-Version | 1.0 |
| X-Mailer | Evolution 2.28.3 |
| Content-Transfer-Encoding | 7bit |
| X-SA-Exim-Connect-IP | 87.194.110.230 |
| X-SA-Exim-Mail-From | tim.wintle@teamrubber.com |
| X-SA-Exim-Scanned | No (on mail.netsight.co.uk); SAEximRunCond expanded to false |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | tim.wintle@teamrubber.com |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2672.1321103019.27778.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1321103019 news.xs4all.nl 6945 [2001:888:2000:d::a6]:59440 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:15625 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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