Is this intentional behavior?
In [1]: from sympy import Tuple In [2]: sum( (True, False, False)) Out[2]: 1 In [3]: sum(Tuple(True, False, False)) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-3-602f84e54f9b> in <module>() ----> 1 sum(Tuple(True, False, False)) TypeError: unsupported operand type(s) for +: 'int' and 'BooleanTrue' -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/cc0c30a3-a232-4772-b8dd-fc38b57fe50a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
