Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1a.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'syntax': 0.04; 'fixes': 0.07; 'subject:missing': 0.07; 'except:': 0.09; 'guys.': 0.09; 'received:67.192': 0.09; 'received:67.192.241': 0.09; 'received:dfw.emailsrvr.com': 0.09; 'undefined': 0.09; 'behavior,': 0.16; 'jumping': 0.16; 'subject:python': 0.16; 'exception': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'received:emailsrvr.com': 0.24; "shouldn't": 0.24; 'received:(smtp server)': 0.26; 'updating': 0.26; 'header:In- Reply-To:1': 0.27; 'correct': 0.29; "we'd": 0.29; 'then.': 0.30; "i'm": 0.30; 'gary': 0.31; 'yields': 0.31; 'this.': 0.32; "we're": 0.32; 'there,': 0.34; 'problem.': 0.35; 'case,': 0.35; 'test': 0.35; 'but': 0.35; 'thanks': 0.36; 'subject:?': 0.36; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'results.': 0.60; 'bottom': 0.67; 'satisfied': 0.81; '*and*': 0.84; 'conclusions': 0.84; 'subject:here': 0.84; 'habit': 0.91 X-Virus-Scanned: OK Date: Sun, 26 Jan 2014 23:12:18 -0800 From: Gary Herron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: buggy python interpretter or am I missing something here? References: <52e600ab$0$29542$862e30e2@ngroups.net> In-Reply-To: <52e600ab$0$29542$862e30e2@ngroups.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390806745 news.xs4all.nl 2849 [2001:888:2000:d::a6]:36708 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64839 On 01/26/2014 10:46 PM, me wrote: > In any case, thanks for the answers guys. I'm satisfied that the except: > syntax yields undefined behavior, and in my mind it shouldn't be > syntactically allowed then. > > Updating to Exception,e or Exception as e fixes the problem. > That's an irksome habit you have there, this jumping to (incorrect) conclusions so quickly. We'd like to get to the bottom of this. (And correct your mis-interpretations while we're at it :-) But we need to see your test *and* the results. Gary Herron