Hey Duane, I think you've found a bug. Could you please create an issue here https://github.com/sympy/sympy/issues.
Regards Sudhanshu Mishra On Sun, Oct 19, 2014 at 5:36 AM, Duane Nykamp <dqnyk...@comcast.net> wrote: > 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 sympy+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > 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 > <https://groups.google.com/d/msgid/sympy/cc0c30a3-a232-4772-b8dd-fc38b57fe50a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. 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/CAFW_KCToYrPqdmMYYG4t7mV7ayGm3NfJqXFi5y%3DZvohXFvsmhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.