I am facing one strange issue.When i was comparing S.One in one list which contains expr.
List= [5,Pow(1,2,evaluate=False)] a=S.One a in List return True But if you do List.remove(a) it throw an exception When i debug it more i found that this is because of equality logic of numbers and expr To reproduce this run below steps k=S.One r=Pow(1,2,evaluate=False) print (k==r) #prints True print (r==k) #prints False How can i avoid this ?? -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
