Added this issue:

https://github.com/sympy/sympy/issues/8275

On Saturday, October 18, 2014 7:11:17 PM UTC-5, Sudhanshu Mishra wrote:
>
> 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 <[email protected] 
> <javascript:>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] <javascript:>
>> .
>> 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 [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/60691f28-075b-4d85-a8e5-ec6d0e9b061d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to