Comment #10 on issue 2389 by asmeurer: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__
http://code.google.com/p/sympy/issues/detail?id=2389
That's a good point. I agree then that we should remove __contains__, except where it explicitly makes sense, like with Interval and Tuple. Things like "x in x*y" would raise TypeError (like "1 in 2").
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.