Re: sys.exc_type etc.

peter@robots.oxford.ac.uk
Fri, 6 Mar 92 20:36:11 GMT

The following message I sent a few days ago has just bounced back. It's
strange, but I have been receiving mail from Tim (tim@ksr.com) (through this
mailing list) about it. So for the benefit of those that haven't read it,
here it is:

Subject: Re: sys.exc_type etc.

I was wondering whether the problem of the nested exceptions could be
handled the way you let the interpreter handles it. Guido says,
(Note that internally in the interpreter, there is no confusion
between exceptions occurring in nested pieces of code -- it keeps them
on its internal stack.)
As you pop this internal stack would it be possible to restore the exeception
type in sys.exc_type?

Just a thought....,
Pete. :-)