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: 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 To: candide 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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