[Python-Dev] Traceback problem
Kevin Jacobs
jacobs@penguin.theopalgroup.com
Mon, 24 Feb 2003 13:39:27 -0500 (EST)
On Mon, 24 Feb 2003, Guido van Rossum wrote:
> [Christian]
> > Then, it is probably not a bug but a feature.
> > Would it be ok then, if I write a function
> > that exposes reset_exc_info to the user?
> >
> > sys.exc_clear() # maybe?
> >
> > Or a function which returns *and* clears the exc?
> >
> > tup = sys.exc_info_reset()
>
> Sure, as long as it is part of Stackless and not of Python proper.
Actually, I've wanted a reset_exc() call from time to time. What is the
barrer to having in the core?
Thanks,
-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