Reraise exception with modified stack
Nicolas Fleury
nid_oizo at yahoo.com_remove_the_
Thu Jun 23 14:24:55 EDT 2005
Scott David Daniels wrote:
> Have you tried it? Looked to do what you described to me when I run a
> sample. Note that is an unadorned raise with no args. The idea is to
> simply modify the exception object and then use raise to carry the
> whole original exception along as if not intercepted.
Oups, sorry, I tried it but wrote "raise exception" instead of "raise".
Yes, that's a very good idea indeed. I'll change to that.
Thx,
Nicolas
More information about the Python-list
mailing list