sympy/sympy — pull request #8644 by skirpichev (2014-12-18 16:16:41+00:00)
Title: Revert 893daf4 and add test for issue 8642

fixes #8642

#7993 should be reopened!