[Python-Dev] Traceback problem (original) (raw)

Kevin Jacobs jacobs@penguin.theopalgroup.com
Tue, 25 Feb 2003 22:20:37 -0500 (EST)


On Tue, 25 Feb 2003, Guido van Rossum wrote:

> > p.s.: I would probably have done the exception saving > > in the caller's frame, where it belongs, IMHO. > > I'm going to see if this is feasible. The current method is almost > certainly more efficient, but seems very backwards.

Watch out though. There are situations where an exception needs to be stored but no frame is available (when executing purely in C). There is always a thread state.

Absolutely. I'm looking to store exception information into the right frame when it is currently stored into the current frame. This won't change how exceptions are also stored in the thread state.

-Kevin

--

Kevin Jacobs The OPAL Group - Enterprise Systems Architect Voice: (216) 986-0710 x 19 E-mail: jacobs@theopalgroup.com Fax: (216) 986-0714 WWW: http://www.theopalgroup.com