def _load_getstate(b, classes):
    assert comp_id(b[0], _GETSTATE)
    obj_type, l_obj_type = _load_str(b[1:])
    state, l_state = _load(b[l_obj_type+1:], classes)
    try:
        cls = classes[obj_type]
    except __HOLE__:
        raise BFUnkownClassError(obj_type)
    obj = cls.__new__(cls)
    obj.__setstate__(state)
    return obj, l_obj_type+l_state+1
dataset/ETHPy150Open cimatosa/jobmanager/jobmanager/binfootprint.py/_load_getstate