def __delattr__(self, key): raise error.KernelError("I am protected!")
def __setattr__(self, k, v): if self._fix: raise error.KernelError("I am protected!") else: object.__setattr__(self, k, v)