PyWart: NameError trackbacks are superfluous

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Mar 17 04:14:20 CET 2013


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



More information about the Python-list mailing list