[Python-Dev] PEP-317

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 10 Jun 2003 11:12:13 +1200 (NZST)

> It was brought up once that raising an exception after another
> exception was already raised ... causes the original exception to be
> ignored.  It was suggested to keep a reference to the previous
> exception in the current exception

Ah, I see, thanks.

Also while we're at it, how about storing the traceback in the
exception object, and getting rid of sys.exc_info() etc.?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+