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


Groups > comp.lang.python > #41346

Re: PyWart: NameError trackbacks are superfluous

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <bsk16@case.edu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'exception': 0.03; 'received:209.85.223': 0.03; 'debugging': 0.05; 'received:209.85.223.198': 0.07; 'stops': 0.07; 'python': 0.09; 'wrong,': 0.09; 'programmer': 0.11; 'sat,': 0.15; 'core.': 0.16; 'dump': 0.16; 'wrote:': 0.17; 'certainly': 0.17; 'obviously': 0.18; '>>>': 0.18; 'header:In-Reply-To:1': 0.25; 'propose': 0.27; 'message-id:@mail.gmail.com': 0.27; "d'aprano": 0.29; 'prints': 0.29; 'steven': 0.29; 'wasting': 0.29; 'no,': 0.29; 'johnson': 0.32; 'print': 0.32; 'surely': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'michael': 0.36; 'too': 0.36; 'turn': 0.36; 'author': 0.37; 'received:209': 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; 'rick': 0.91
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=MTmRA3bklqsnmo1jtVTbwFa1mGoG4MOmn0Y6z46rpEk=; b=O60d+nh/HNk09dKIwqeJIQJtiYSXU7vVoZLCy4uc+CdrSBTWtsxyxRX2uIVSmaEDF8 AG/vtnT/cUWmSffv7v9Ad31xD1CCybpGvsHG9oI80cRg7V7jUZ1x0MCPPmt3WgwbBLAH L28CNl1qK0waY8bRzAjGsmtqO8KaDe4o5Xk01vudA/0w3GnhIqcNoZX/QzHExMFwPy0G NF9wn6WPI4+F1/tCEkJTxkiXzXY+Y41vpOwyav8kBcunJbNwHNfNBBw1dIyJHjxJBUa6 Piu7opM4WdV8X6aZs3wZCfeK1D9JSJIfifXwP4sbIAl+KbP/EdCWx5aS+NuueohX9j6o 0zFw==
X-Received by 10.182.235.49 with SMTP id uj17mr5077831obc.18.1363493631546; Sat, 16 Mar 2013 21:13:51 -0700 (PDT)
MIME-Version 1.0
X-Received by 10.182.235.49 with SMTP id uj17mr5077830obc.18.1363493631473; Sat, 16 Mar 2013 21:13:51 -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 Sat, 16 Mar 2013 21:13:51 -0700
Subject Re: PyWart: NameError trackbacks are superfluous
From Benjamin Kaplan <benjamin.kaplan@case.edu>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-Gm-Message-State ALoCoQlhE3h0ng9aOYY9GP7qbnLDciLdzPggMASbb/rQarghZ+YCFEba+taFSKsuC5jMVtZbR+a2zzIs2dLoDtuMGTln1y6XuKyGJBsPEf9kPEZx/4InSSGcQ+td6UTZI7oUBvr4yAxBQ20BbXd6PKbIbzj7lYnAjg==
X-Junkmail-Whitelist YES (by domain whitelist at mpv2.tis.cwru.edu)
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.3381.1363494015.2939.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1363494015 news.xs4all.nl 6840 [2001:888:2000:d::a6]:35618
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41346

Show key headers only | View raw


On Sat, Mar 16, 2013 at 8: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.
>
> --
> Steven

Don't have it dump core. Have it print a pink slip to the default printer.

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