Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium EasyToFix

New issue 2689 by [email protected]: Set and Dict args should be sorted
http://code.google.com/p/sympy/issues/detail?id=2689

Dict and Set should compare the same regardless of order that args are input. This should for sure be true for a Dic; for a Set (which is not a python-like set() in that it can contain duplicate) it should probably have this true since it is just a container of objects and ordering of a set shouldn't matter.

    >>> Dict((1,2),(3,2)) == Dict((3,2),(1,2))
    False
    >>> Set(1,2)==Set(2,1)
    False


I'm guessing this is easy to fix.

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