Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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; 'subject:missing': 0.07; 'assuming': 0.09; 'except:': 0.09; 'integral': 0.09; 'undefined': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'language,': 0.12; '"python': 0.16; 'behavior,': 0.16; 'c++)': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'help;': 0.16; 'ought': 0.16; 'points:': 0.16; 'subject:python': 0.16; 'language': 0.16; 'wrote:': 0.18; 'help.': 0.21; '>>>': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; "shouldn't": 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'quickly': 0.29; "doesn't": 0.30; 'then.': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'asked': 0.31; 'exceptions': 0.31; 'fighting': 0.31; 'yields': 0.31; 'received:google.com': 0.35; 'really': 0.36; 'c++': 0.36; "i'll": 0.36; 'subject:?': 0.36; 'should': 0.36; 'two': 0.37; 'being': 0.38; 'list,': 0.38; 'pm,': 0.38; 'rather': 0.38; 'anything': 0.39; 'expect': 0.39; 'mailing': 0.39; 'back': 0.62; 'offering': 0.63; 'benefit': 0.68; 'lose': 0.68; 'satisfied': 0.81; 'ethan': 0.84; 'furman': 0.84; 'it"': 0.84; 'subject:here': 0.84; 'attitude': 0.91; '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=rSRBZz+1p5Rx8a3IbmXMvBo3+DHYlRiAsTydkx6Iq9Q=; b=u3tE2FGR+IMd+akCLagz8UYXiu8xzUu7Cd+YO37Pj1aYzPex6vpZqDysQgNvraq8am NkyKIpXR8kpk11CfSAmbhjUueztxeXDyTZbU/zd/F/0krEz7crMMa38Htn7zfkf9pwZT jOT2AtEvKRO8nKNg4Gbl8ckH/lP7kc4Nbptw8kFUvNPHZZGwdhINP3cRXevDi1UFsQos 94k0dlZ2eUPn0gC32EoD8Nw/yzchgmAyYj648rLVfwSVUSETMjZpve0vCemKs3aWax+F ni9BuE4uEtEVUOFOrJRbKs+CiCIJqOHsSoQcek4I7X0Nbd8ciRr5WPEomd7GugpgKxd1 UIdQ== MIME-Version: 1.0 X-Received: by 10.66.160.2 with SMTP id xg2mr28670716pab.23.1390813293325; Mon, 27 Jan 2014 01:01:33 -0800 (PST) In-Reply-To: <52e60e69$0$29774$862e30e2@ngroups.net> References: <52e600ab$0$29542$862e30e2@ngroups.net> <52e60e69$0$29774$862e30e2@ngroups.net> Date: Mon, 27 Jan 2014 20:01:33 +1100 Subject: Re: buggy python interpretter or am I missing something here? 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390813301 news.xs4all.nl 2961 [2001:888:2000:d::a6]:49870 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64852 On Mon, Jan 27, 2014 at 6:44 PM, me wrote: > On Sun, 26 Jan 2014 23:17:29 -0800, Ethan Furman wrote: > >> On 01/26/2014 10:46 PM, me wrote: >>> >>> [...] I'm satisfied that the except: syntax yields undefined behavior, >>> and in my mind it shouldn't be >>> syntactically allowed then. >> >> Two points: >> >> 1) Python is not C++ >> >> 2) You asked for help; you received it. Coming back >> with an attitude of "Python must be broken, I'll work around it" >> is going to quickly lose you the support of those willing to help >> again. > > > Whatever...lighten up dude! When you use a language, you should be working with it, not fighting against it. It doesn't do to complain that REXX ought to have IEEE floating-point semantics, or that 8086 assembly language really would benefit from a native hashtable type. Python works a certain way, and part of that is its use of exceptions - which are integral to the language, rather than being (as in C++) somewhat tacked-on. Assuming that anything that isn't the way you expect it is inherently broken, and saying so on a mailing list, is a good way to alienate those who are offering you help for no reimbursement... and "lighten up dude" doesn't help. ChrisA