@classmethod
    def dump(cls, type, exc):
        try:
            return pickle.dumps(type), pickle.dumps(exc)
        except Exception:
            return cls.dump(cls, cls(repr(exc)))
Always return a dumped (pickled) type and exc. If exc can't be pickled,
dataset/ETHPy150Open chalasr/Flask-P2P/venv/lib/python2.7/site-packages/setuptools/sandbox.py/UnpickleableException.dump