Why did someone write this?

Sandra-24 sandravandale at yahoo.com
Fri Apr 7 12:52:04 EDT 2006


try:
   exc_type, exc_value, exc_traceback = sys.exc_info()
   # Do something
finally:
   exc_traceback = None

Why the try/finally with setting exc_traceback to None? The python docs
didn't give me any clue, and I'm wondering what this person knows that
I don't.

Thanks,
-Sandra




More information about the Python-list mailing list