sympy/sympy — pull request #1558 by smichr (2012-10-04 02:32:14+00:00)
Title: add and use OrderedSet

This might fix the problems between pypy and sets and the order in which terms are processed.