import pickle
import zlib


def blobloads(blob):
    """
    Inverse of blobdumps().

    Decompress the pickled object, and unpickle the uncompressed object.

    Returns a Python object.
    """

    return pickle.loads(zlib.decompress(blob.encode('latin1')))
    # No need to specify pickle protocol, as it will be automatically
    # determined.