[Patches] indexerror: better error messages
Peter Schneider-Kamp
peter@schneider-kamp.de
Mon, 12 Jun 2000 10:46:55 +0200
"M.-A. Lemburg" wrote:
>
> Finding out the cause of an error is easy enough by
> simply looking at the traceback when the error is being
> printed.
I suppose this can be done inside the IndexError__str__
method in Python/exceptions.c.
But how do I access the traceback object to get the
required information? I have looked closely at
traceobject.c but didn't see anything that would help me.
A short hint would be appreciated.
not-goint-to-parse-the-line-of-code-ly y'rs Peter
--
Peter Schneider-Kamp ++47-7388-7331
Herman Krags veg 51-11 mailto:peter@schneider-kamp.de
N-7050 Trondheim http://schneider-kamp.de