sys.exc_info() is special case in tr.py