How to pop the interpreter's stack?

Carl Banks pavlovevidence at gmail.com
Wed Dec 22 16:53:20 EST 2010


On Dec 22, 8:52 am, kj <no.em... at please.post> wrote:
> In <mailman.65.1292517591.6505.python-l... at python.org> Robert Kern <robert.k... at gmail.com> writes:
>
> >Obfuscating the location that an exception gets raised prevents a lot of
> >debugging...
>
> The Python interpreter does a lot of that "obfuscation" already, and I
> find the resulting tracebacks more useful for it.
>
> An error message is only useful to a given audience if that audience
> can use the information in the message to modify what they are
> doing to avoid the error.

So when the audience files a bug report it's not useful for them to
include the whole traceback?

>  It is of no use (certainly no *immediate*
> use) to this audience to see tracebacks that go deep into code that
> they don't know anything about and cannot change.

Seriously, quit trying to do the user favors.  There's nothing that
pisses me off than a self-important developer thinking he knows what
the user wants more than the user does.


Carl Banks



More information about the Python-list mailing list