sympy/sympy — pull request #1368 by scolobb (2012-06-21 12:39:02+00:00)
Title: Fix FiniteSet-related Python 3 test failures.

This pull request makes the behaviour of `element_sort_fn` in `core/sets.py` consistent with that of `sort_key` in all SymPy classes.

This pull request also makes exception handling in `element_sort_fn` more specific.