Antoine Pitrou <[EMAIL PROTECTED]> wrote:
sys.exc_info() will remain, it's just that the returned value will be (None, None, None) if we are not in an except block in any of the currently active frames in the thread. In the case above it would return the current exception (the one caught in one of the enclosing frames).
This reminds me of something I've thought a few times - maybe the tuple returned from sys.exc_info() should be a named tuple.
Tim Delaney
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com