def safe_unpickle(string):
    try:
        return pickle.loads(string)
    except:
        return None
Unpickle the string, or return ``None`` if that fails.
dataset/ETHPy150Open miracle2k/webassets/src/webassets/cache.py/safe_unpickle