sympy/sympy — pull request #1146 by amakelov (2012-03-20 07:48:18+00:00)
Title: 2962: fix of defect.

Handling explicitly the dihedral groups D_n for n = 1, 2 since they cannot be represented as subgroups of S_n, which is what the general algorithm attempts to do.