def __setattr__(self, name, value):
        """ Store into a special dictionary """
        if isinstance(value, list):
            assert self.zkp.arrays in name
            number, start = self.zkp.arrays[name]
            assert len(value) == number

            for i, v in enumerate(value):
                n = "%s[%i]" % (name,start+i)
                self._set_var(n, v)
    
        else:          
            self._set_var(name, value)
dataset/ETHPy150Open gdanezis/petlib/examples/genzkp.py/ZKEnv.__setattr__/swapped operands of `in`