[Python-3000] Exception tracebacks and PEP 3101

Guido van Rossum guido at python.org
Tue Mar 6 19:37:14 CET 2007


Patrick, I would recommend not to worry about that just yet. As a
first cut it's quite alright if a traceback in the formatter is just
passed through by the format() call without adding any indication of
where in the format string it happened. There are tons of ways to
debug that.

--Guido

On 3/6/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Patrick Maupin schrieb:
> > That was a statement.  The question comes later :)
> >
> >> This seems the tricky part here: What *is* it that you want to
> >> display?
> >
> > The obvious, greenfield, blue-sky, non-pre-existing-implementation,
> > perfect-world thing to do is to add a record to the stack traceback.
>
> I can't see how adding a record *alone* helps anything whatsoever.
> Wouldn't you also need to *display* the record somehow?
>
> So lets start with that (and all over again): What is it (precisely)
> that you want to display? Given what program, what error, what should
> the output be?
>
> Or, if there is not to be any output at any time: what is the purpose
> of the record?
>
> Regards,
> Martin
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
>


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list