sympy/sympy — pull request #1237 by scolobb (2012-04-14 21:22:08+00:00)
Title: Rebased https://github.com/sympy/sympy/pull/563

I have rebased the pull request https://github.com/sympy/sympy/pull/563 . This mainly required to fix imports and a small fix in instantiation of `Monomial`, which I have made into a separate commit.