sympy/sympy — pull request #1673 by smichr (2012-11-25 18:10:35+00:00)
Title: Match patches: issues 1784 and 1220

sign simplification and processing of args in decreasing order of complexity (in a canonical way) are implemented.