sympy/sympy — pull request #1894 by asmeurer (2013-03-14 06:13:47+00:00)
Title: Test basestring instead of str in Symbol

Also, raise TypeError instead of AssertionError on bad arguments.