Comment #4 on issue 2389 by [email protected]: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__
http://code.google.com/p/sympy/issues/detail?id=2389

@asmeurer: OK, Basic.__contains__ should only be deprecated, but not removed.

The problem seems harder than I thought: has() calls matches() and matches() calls 'in', so replacing directly x in expr with expr.has(x) won't work. However, there's another way of doing the same thing: using x in preorder_traversal(expr).

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to