Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3a.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.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'syntax': 0.04; 'pep': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:pass': 0.16; 'url:peps': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'instead.': 0.24; 'url:dev': 0.24; 'fairly': 0.24; 'cc:2**0': 0.24; '15,': 0.26; 'subject:/': 0.26; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; "didn't": 0.36; 'url:org': 0.36; 'short': 0.38; 'sure': 0.39; 'times': 0.62; 'became': 0.64; 'different': 0.65; 'subject.': 0.74; 'batchelder': 0.84; 'subject:try': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=R4gWE7xA4MhI3WMLTEU1ELdYa2a9+pucQIucG3E4e0k=; b=qEcc8oVXBFybuyN9+yGEz5OrZF1MKSwO4YB0VMgs9p8cQH3561YA663q2hJk2RZCfg JtC3WT9KRmXIz5T+iT2x3aVgEn6pE7GmlzkefpJbRY1x8VesEnbF2wdn8IAaPkNwN3mK PUGtTozTJRuiH46oJR6u3c2VvYUaGzruIQNR8NxnZBbtaB8oJapH/LBL6Fg93jigJgg/ GKqRPyGaCr1mE5hGxk0xEWsqFBcm8Rjb0s+8UCtbklXypii92+ocCT7Q/BIDPzwDAygC EwrKeXbM6nZ1PHZC5E5romShMJ2c0MPNN0TK0clMDW29RTho1oOosGIvWYJTF8u0Lot9 372w== MIME-Version: 1.0 X-Received: by 10.50.164.233 with SMTP id yt9mr7452148igb.2.1413297559629; Tue, 14 Oct 2014 07:39:19 -0700 (PDT) In-Reply-To: References: Date: Wed, 15 Oct 2014 01:39:19 +1100 Subject: Re: Short syntax for try/pass From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 1413297563 news.xs4all.nl 2966 [2001:888:2000:d::a6]:49146 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3511 X-Received-Body-CRC: 1039872754 Xref: csiph.com comp.lang.python:79100 On Wed, Oct 15, 2014 at 1:28 AM, Ned Batchelder wrote: > PEP 463 proposes a short syntax for this use case: > http://legacy.python.org/dev/peps/pep-0463/ > > I'm not sure what became of it. Not quite; PEP 463 is about the case where you then want a different value instead. I'm fairly sure the PEP is in a "virtually rejected" state, but I nudged about it a couple of times and didn't get any certain response on the subject. ChrisA