Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'exception': 0.03; 'debugging': 0.05; 'exit': 0.07; 'stops': 0.07; 'python': 0.09; 'wrong,': 0.09; 'programmer': 0.11; 'sat,': 0.15; 'core?': 0.16; 'dump': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'succeeded.': 0.16; 'wrote:': 0.17; 'certainly': 0.17; 'obviously': 0.18; '>>>': 0.18; 'all,': 0.21; "python's": 0.23; 'seems': 0.23; 'header:In-Reply-To:1': 0.25; 'fit': 0.26; 'propose': 0.27; 'message-id:@mail.gmail.com': 0.27; 'rest': 0.28; "d'aprano": 0.29; 'prints': 0.29; 'steven': 0.29; 'wasting': 0.29; 'no,': 0.29; 'johnson': 0.32; 'surely': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'something': 0.35; 'michael': 0.36; "wasn't": 0.36; 'useful': 0.36; 'too': 0.36; 'turn': 0.36; 'author': 0.37; 'why': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'your': 0.60; 'skip:n 10': 0.63; 'information': 0.63; 'our': 0.65; '2013': 0.84; 'idiot.': 0.84; 'off,': 0.84; 'proposal.': 0.84; 'rick': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Crf3EMWkoS+7tbZpQ753tz+1TIP0DAnHFVNQgw8eD0I=; b=NVkAJeCc8TadnrG/KaY8IRJ/Q/qcUt0lEaauoEt1KbA25RUj7bR6UB8usp2EHV/cuQ 4GSpYgKIhrBdj68zJy4xDqTbXyRtEdw1LORxwlALOf5N5gOwICAggZMHRSdnF/QbyEky q/YdtI+lFyirstCNyI3m9Q/Wu7zfrnOpnx8ZjzRdFR8CaUljBMIYi74nHWOvgMRD6aYp rui/9jQ4nNwCGW3Zjw15ypptZ96MCPl19SGP0a9iCHPgIUxzAamZdqrynh76pMs5A44h phT3A5ObPIu5ViGXluU03Lx7TNN/Uo+4zRFYOW8CsvlIilAFhLpPz02rAIrONQoxPut9 fiOA== MIME-Version: 1.0 X-Received: by 10.52.37.109 with SMTP id x13mr12196654vdj.10.1363490367772; Sat, 16 Mar 2013 20:19:27 -0700 (PDT) In-Reply-To: <5145350b$0$29965$c3e8da3$5496439d@news.astraweb.com> References: <514504b1$0$29965$c3e8da3$5496439d@news.astraweb.com> <8d5de6ba-5f7b-44ea-8525-cb20a88344eb@googlegroups.com> <5145350b$0$29965$c3e8da3$5496439d@news.astraweb.com> Date: Sun, 17 Mar 2013 14:19:27 +1100 Subject: Re: PyWart: NameError trackbacks are superfluous 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.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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1363490376 news.xs4all.nl 6845 [2001:888:2000:d::a6]:59706 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:41345 On Sun, Mar 17, 2013 at 2:14 PM, Steven D'Aprano wrote: > On Sat, 16 Mar 2013 19:58:41 -0600, Michael Torrie wrote: > >> On 03/16/2013 06:11 PM, Rick Johnson wrote: >>> No, the "ACTUAL PROBLEM" is in the author. >> >> Surely any NameException can also be blamed on the author then, by your >> logic? > > Any exception at all is obviously the author's fault. I propose that > Python stops wasting our time with debugging information and tracebacks, > and on any error, simply prints the following message then dump core: > > > PEBKACError: Programmer is an idiot. You did something wrong, you moron, > turn your computer off, you're obviously too stupid to program. > > > That will certainly improve productivity. Why dump core? That seems far too useful to fit with the rest of your proposal. Just exit 0 - after all, it wasn't Python's fault, so it obviously succeeded. ChrisA