Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41345

Re: PyWart: NameError trackbacks are superfluous

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 <rosuav@gmail.com>
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 <e6e760f7-eb3a-41c8-b52c-f14ee73aabb1@googlegroups.com> <mailman.3372.1363468797.2939.python-list@python.org> <514504b1$0$29965$c3e8da3$5496439d@news.astraweb.com> <8d5de6ba-5f7b-44ea-8525-cb20a88344eb@googlegroups.com> <mailman.3379.1363485537.2939.python-list@python.org> <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 <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3380.1363490376.2939.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sun, Mar 17, 2013 at 2:14 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PyWart: NameError trackbacks are superfluous Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-16 11:27 -0700
  Re: PyWart: NameError trackbacks are superfluous Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-03-16 21:19 +0000
    Re: PyWart: NameError trackbacks are superfluous Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-16 15:39 -0700
      Re: PyWart: NameError trackbacks are superfluous Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-03-16 23:29 +0000
        Re: PyWart: NameError trackbacks are superfluous Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-16 16:50 -0700
          Re: PyWart: NameError trackbacks are superfluous Chris Angelico <rosuav@gmail.com> - 2013-03-17 11:00 +1100
      Re: PyWart: NameError trackbacks are superfluous Tim Chase <python.list@tim.thechases.com> - 2013-03-16 18:36 -0500
      Re: PyWart: NameError trackbacks are superfluous Chris Angelico <rosuav@gmail.com> - 2013-03-17 10:48 +1100
    Re: PyWart: NameError trackbacks are superfluous Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-16 23:48 +0000
      Re: PyWart: NameError trackbacks are superfluous Chris Angelico <rosuav@gmail.com> - 2013-03-17 10:59 +1100
      Re: PyWart: NameError trackbacks are superfluous Rick Johnson <rantingrickjohnson@gmail.com> - 2013-03-16 17:11 -0700
        Re: PyWart: NameError trackbacks are superfluous Michael Torrie <torriem@gmail.com> - 2013-03-16 19:58 -0600
          Re: PyWart: NameError trackbacks are superfluous Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-17 03:14 +0000
            Re: PyWart: NameError trackbacks are superfluous Chris Angelico <rosuav@gmail.com> - 2013-03-17 14:19 +1100
            Re: PyWart: NameError trackbacks are superfluous Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-03-16 21:13 -0700
  Re: PyWart: NameError trackbacks are superfluous Jason Swails <jason.swails@gmail.com> - 2013-03-17 17:22 -0400

csiph-web