We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.



This function clears all information relating to the current or last exception that occurred in the current thread. After calling this function, sys.exc_info will return three None values until another exception is raised in the current thread or the execution stack returns to a frame where another exception is being handled.

This function is only needed in only a few obscure situations. These include logging and error handling systems that report information on the last or current exception. This function can also be used to try to free resources and trigger object finalization, though no guarantee is made as to what objects will be freed, if any. New in version 2.3.