ipython/ipython — pull request #2399 by takluyver (2012-09-11 10:38:11+00:00)
Title: IndentationError display

IndentationError is a subclass of SyntaxError, and they should display in a similar fashion, with the problematic line and line number shown. We were being over-specific with our type checking.

Closes #2398.