sympy/sympy — pull request #1557 by smichr (2012-10-04 02:30:59+00:00)
Title: add OrderedSet to containers and use where appropriate

This will perhaps fix the problems with pypy and the order in which things are popped from sets.