Ah! sorry for that silly mistake..
I am correcting it now.  
Thanks aaron

On Sunday, March 30, 2014 1:17:40 AM UTC+5:30, Aaron Meurer wrote:
>
> OH, I didn't see that.
>
> You should not use "is" to compare things. "is" does an exact object 
> comparison (in memory). So for instance
>
> a = []
> b = []
> a is b
>
> will give False, because a and b are different lists. For immutable 
> objects like tuples, Python reserves the right to cache the same object for 
> performance purposes, but does not guarantee it (with the exception of a 
> few things like True, False, and None).  So it looks like CPython does 
> cache the empty tuple (), but PyPy does not. 
>
> Basically, you should never use "is", unless you really mean it. Always 
> use "==".
>
> Aaron Meurer
>
>
>
> On Sat, Mar 29, 2014 at 2:44 PM, SAHIL SHEKHAWAT 
> <[email protected]<javascript:>
> > wrote:
>
>> My guess is that somehow True and False are escaping from "not a.args is 
>> ()" which are checking if they have any arg and only then -BOOLEANTRUE can 
>> come.
>> The tests were passed when i explicitly added true and false in the 
>> condition.
>>
>>
>> On Sunday, March 30, 2014 1:09:28 AM UTC+5:30, Aaron Meurer wrote:
>>
>>>  I guess the difference is that this is PyPy, but even on my computer, 
>>> that test passes in PyPy. Do you have any guess what would cause it to get 
>>> the -BOOLEANTRUE term (the - part in particular)?
>>>
>>> Aaron Meurer
>>>
>>>
>>> On Sat, Mar 29, 2014 at 12:51 PM, SAHIL SHEKHAWAT <[email protected]
>>> > wrote:
>>>
>>>> For my pull request #7303 <https://github.com/sympy/sympy/pull/7303> 
>>>> Travis 
>>>> is showing an error see https://travis-ci.org/
>>>> sympy/sympy/jobs/21810070#L3374
>>>> while running the same code locally it is passing all the test and 
>>>> doctests. After discussing it on gitter with @zamrath i got to know that 
>>>> it 
>>>> can be due to build differences.
>>>> Any suggestion on how should i pass the test and merge the codes.
>>>>
>>>> NOTE: this PR is for my patch requirement..please help 
>>>>
>>>> -- 
>>>> 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/82f51be5-1c30-45bd-b539-eee74c4f34ae%40googlegroups.com<https://groups.google.com/d/msgid/sympy/82f51be5-1c30-45bd-b539-eee74c4f34ae%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] <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/05bf48f5-7047-4e2f-bde7-46cbcdd6b532%40googlegroups.com<https://groups.google.com/d/msgid/sympy/05bf48f5-7047-4e2f-bde7-46cbcdd6b532%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/98440ad5-f637-4fa0-a82c-65e6cd0ea4bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to