sys.exc_type

exc_type

Deprecated since release 1.5. Use sys.exc_info instead.

Since sys.exc_type, sys.exc_value and sys.exc_traceback are global variables, they are not specific to the current thread, so their use is not safe in a multi-threaded program.

When no exception is being handled, sys.exc_type is set to None and the other two are undefined.

 

A Django site. this page was rendered by a django application in 0.02s 2010-12-16 16:09:59.573759. hosted by webfaction.