Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium
New issue 2091 by smichr: has() might need wild flag
http://code.google.com/p/sympy/issues/detail?id=2091
I got an unexpected result from has():
h[1] >>> w=Wild('w')
h[1] >>> S(1).has(w)
True
I know this is because it allows for matching. Perhaps has should have a
flag to disallow pattern matching. Possibilities include:
wild=False
literal=True
exact=True
--
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.