(src)
return RestrictedUnpickler(io.BytesIO(src)).load()
Helper function analogous to pickle.loads().
Helper function analogous to pickle.loads().
Helper function analogous to pickle . loads () .
def restricted_loads(src):
    """Helper function analogous to pickle.loads()."""
    return RestrictedUnpickler(io.BytesIO(src)).load()
def restricted_loads ( src ) : return RestrictedUnpickler ( io . BytesIO ( src ) ) . load ( )