Exception passing

Thomas Dybdahl Ahle lobais at gmail.com
Fri Mar 23 10:57:15 EDT 2007


Den Fri, 23 Mar 2007 07:38:47 -0700 skrev Alex Martelli:

> Thomas Dybdahl Ahle <lobais at gmail.com> wrote:

>> This works quite good, but it is a hell to debug. Instead of getting a
>> log message to the line which originally raised the exception.

> As you see, the traceback is "maintained" when you just "raise", though
> it's altered when you "raise e".

Thanks a lot :D



More information about the Python-list mailing list