Backport of the traceback module to older Python versions
