sympy/sympy — pull request #1867 by mgill25 (2013-03-04 18:03:16+00:00)
Title: Raise TypeError instead of looping forever

Something like
```
>>> X = DeferredVector('X')
>>> Matrix(X)
```
should raise TypeError instead of Running forever into an infinite loop.