def validate_elements(self, obj, value):
        length = len(value)
        if self._minlen < length or length > self._maxlen:
            self.length_error(obj, value)

        return super(List, self).validate_elements(obj, value)
dataset/ETHPy150Open enthought/depsolver/depsolver/bundled/traitlets/_implementation.py/List.validate_elements/swapped operands of `<`