Comment #4 on issue 2091 by smichr: has() might need wild flag
http://code.google.com/p/sympy/issues/detail?id=2091

should we have a totally different method, has_pattern()? I think a lot of code would be very surprised by the pattern matching behavior of has. e.g. if you had an expression with wilds in it and you sent it to solve, any place there was a test for expr.has(symbol) it would succeed *regardless of expression* if that symbol were a wild.

If sentiments are against this then I would recommend match=False be the default in has().

--
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