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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4