Comment #81 on issue 1694 by nicolas.pourcelot: solve has many issues with fractions
http://code.google.com/p/sympy/issues/detail?id=1694

There is at least one drawback with sets:

In [8]: 1 == S.One
Out[8]: True

In [9]: [1] == [S.One]
Out[9]: True

In [10]: set([1]) == set([S.One])
Out[10]: False

This is because sets use hash for fast comparison, and hash(1) != hash(S.One).

(To solve this, S.Integer.__hash__ should be modified to return the integer own value...)

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