sympy/sympy — pull request #658 by rlamy (2011-10-14 19:48:52+00:00)
Title: Defaultdict

There are a few places where code can be simplified by using defaultdicts (and sets in the case of facts.py). I guess that this pull request only handles some of those cases, and that there are more simplification opportunities lying around.