Mine
public python v1 · immutableclass MyList(list): def __getattribute__(self, attr): print attr return object.__getattribute__(attr)m = MyList([1,2,3])# does not print anything:m[0] = 123class MyList(list): def __getattribute__(self, attr): print attr return object.__getattribute__(attr)m = MyList([1,2,3])# does not print anything:m[0] = 123