Comment #3 on issue 2014 by mattpap: sympy.solvers.solvers.solve should also allow frozenset to hold equations
http://code.google.com/p/sympy/issues/detail?id=2014

This is probably a leftover from the times when expressions were iterable. It should be sufficient to use hasattr(something, '__iter__') instead of isinstance(...). The hasattr() approach is used in many other functions in SymPy that accept iterables on input. However, this won't work currently with Tuple, because:

In [1]: hasattr(Tuple(x, y), '__iter__')
Out[1]: False


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-iss...@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.

Reply via email to