This pull request makes FiniteSet not sort its elements at construction and fixes the consequences.
You can merge this Pull Request by running: git pull https://github.com/scolobb/sympy finiteset-nosort Or you can view, comment on it, or merge it online at: https://github.com/sympy/sympy/pull/1380 -- Commit Summary -- * Don't sort the elements of a FiniteSet. * Make str.py print FiniteSet in a sorted way. * Explicitly define FiniteSet._hashable_content. * Sort FiniteSet elements when computing the complement. -- File Changes -- M sympy/core/sets.py (46) M sympy/printing/str.py (5) -- Patch Links -- https://github.com/sympy/sympy/pull/1380.patch https://github.com/sympy/sympy/pull/1380.diff --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1380 -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=en.