erasing ``sys.exc_info()`` from code