def __getattribute__(self, item):
        f = super(LockedMachine, self).__getattribute__
        tmp = f(item)
        if inspect.ismethod(tmp) and item not in "__getattribute__":
            return LockedMethod(f('rlock'), tmp)
        return tmp
dataset/ETHPy150Open tyarkoni/transitions/transitions/extensions/locking.py/LockedMachine.__getattribute__/original