ipython/ipython — pull request #2436 by jakebiesinger (2012-09-27 05:00:15+00:00)
Title: Add parsing retry for first-line indent-failing copy-pasted code

If the parsing fails with an IndentationError, try to parse one more time by adding an ```if True:\n``` block before the cell.

Too hacky? Should close #995, but perhaps a real plugin is preferred?