Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'debugging': 0.07; 'occasionally': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'perl': 0.31; 'charset:us-ascii': 0.36; 'received:10': 0.37; 'subject:new': 0.38; 'subject:"': 0.60; 'subject:else': 0.84 X-Sender-Id: wwwh|x-authuser|tim@thechases.com X-Sender-Id: wwwh|x-authuser|tim@thechases.com X-MC-Relay: Neutral X-MailChannels-SenderId: wwwh|x-authuser|tim@thechases.com X-MailChannels-Auth-Id: wwwh X-MC-Loop-Signature: 1417607655417:3531418509 X-MC-Ingress-Time: 1417607655417 Date: Wed, 3 Dec 2014 05:56:44 -0600 From: Tim Chase To: Dennis Lee Bieber Subject: Re: Proposed new conditional operator: "or else" In-Reply-To: <1o2t7a5rt5j35lm8e5ad2811cpoupbs22f@4ax.com> References: <1o2t7a5rt5j35lm8e5ad2811cpoupbs22f@4ax.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: tim@thechases.com Cc: python-list@python.org 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417607667 news.xs4all.nl 2839 [2001:888:2000:d::a6]:37755 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 2742 X-Received-Body-CRC: 1500409499 Xref: csiph.com comp.lang.python:81855 On 2014-12-02 23:05, Dennis Lee Bieber wrote: > > foo == 42 or else > > Has a PERL stink to it... like: foo == 42 or die This actually works in Python and I occasionally use in debugging (much like