def resume(self):
        "restore and re-raise any exception"

        if '_saved' not in vars(self):
            return

        type, exc = map(pickle.loads, self._saved)
        raise exc.with_traceback(self._tb)
restore and re-raise any exception
product/gradle-plugin/src/main/python/setuptools/sandbox.py