sympy/sympy — pull request #1023 by harishma (2012-01-28 04:54:57+00:00)
Title: The function prime does not return when a uninitialized symbol is passed

to it.Thus the argument needs to be checked if it is an integer value.