sympy/sympy — pull request #2909 by vlsd (2014-02-13 16:34:37+00:00)
Title: fixed annoying errors when installing in both python2 and python3

The issue was half fixed in pull #2875, but got closed for some reason. This fixes both the py2 and the py3 errors relating to calling exec funny.