[sympy] Do not implicitly sort elements in FiniteSet. (#1380)

2012-06-23 Thread Sergiu Ivanov
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/p

[sympy] Fix the sorting of elements in FiniteSet. (#1381)

2012-06-23 Thread Sergiu Ivanov
This pull request makes `FiniteSet` use `default_sort_key` to sort its elements and also removes the pre-sorting of `FiniteSet` elements before printing it in `pretty.py`. You can merge this Pull Request by running: git pull https://github.com/scolobb/sympy finiteset-fixsorting Or you can vi

[sympy] Skip failing doctests (#1382)

2012-06-23 Thread Ondřej Čertík
These doctest are platform dependent, so we simply skip testing them. This problem was introduced by the pull request #1371. You can merge this Pull Request by running: git pull https://github.com/certik/sympy sets Or you can view, comment on it, or merge it online at: https://github.com/s

[sympy] Fix the way that Derivatives are produced when using abuse of notation. (#1383)

2012-06-23 Thread Stefan Krastanov
Pull Request #460 introduced support for a handy abuse of notation, however it disregarded the convention for constructing `Subs(Derivative(...))` objects causing serious inconsistencies: - this does not work anymore: ``` In [1]: f(g(x)).diff(x).subs(g, Lambda(x, 2*x)) Error ``` - these result