Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'attempting': 0.04; 'tuple': 0.09; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nest': 0.16; 'subject:syntax': 0.16; 'subject:question': 0.16; 'wrote:': 0.16; 'wed,': 0.17; 'written': 0.19; 'feb': 0.22; 'header:In-Reply-To:1': 0.22; 'code': 0.25; 'pm,': 0.26; 'message-id:@mail.gmail.com': 0.28; 'kelly': 0.30; 'tuples': 0.30; 'least': 0.30; 'supposed': 0.32; 'to:addr:python-list': 0.33; 'certain': 0.34; 'moving': 0.35; 'reference': 0.37; 'received:google.com': 0.37; 'page': 0.37; 'received:209.85': 0.38; 'correctly': 0.38; 'received:209': 0.39; 'subject:: ': 0.39; 'might': 0.40; 'to:addr:python.org': 0.40; 'worth': 0.61; 'bulk': 0.82; '12:12': 0.84; 'good,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=AqNB51Xz7kwBtG5COOoyhfS5emrZaUoXK3y+dCzJZTs=; b=gM0a6l6yGG7Vtdq76UcapTt9Y359gpWGmNPTY4kEkxD8DnW3DF5zH9jQXjmi9AMtmb TywUSe9TlNpuiCNG2wmpd1eYw8vTA4gNws513p8Xy1HsNqpbcOu0UE3yM+OTL51l1I1H /LMtez8F6aBkKWTiF9lpsrWuKj9KzGL1THndo= MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 1 Feb 2012 13:46:02 +1100 Subject: Re: except clause syntax question From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1328064365 news.xs4all.nl 6908 [2001:888:2000:d::a6]:36396 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19681 On Wed, Feb 1, 2012 at 12:12 PM, Ian Kelly wrote: > Incidentally, I *think* that any correctly written C code attempting > to nest a tuple inside itself would make the reference count of the > tuple be at least 2 at the time of the call, and so it would fail. Good, nice that that's certain :) Might be worth moving the "[b]ecause tuples are supposed to be immutable" warning up to the top of the page then, since the bulk of it applies to all those functions and not just resize. ChrisA