You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding e.g. an int to a list is currently failing. It should be handled like in LeopoldWichtel@4308c2d
>>> logics.Value([1,2,3]) + 4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/logics/logics-py/logics/value.py", line 221, in __add__
return Value(int(self) + int(other))
^^^^^^^^^
File "/tmp/logics/logics-py/logics/value.py", line 138, in __int__
return int(self.value)
^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'list'
>>>
Generelly, an Exception shall not be thrown in this case.
The text was updated successfully, but these errors were encountered:
Adding e.g. an int to a list is currently failing. It should be handled like in LeopoldWichtel@4308c2d
Generelly, an Exception shall not be thrown in this case.
The text was updated successfully, but these errors were encountered: