ipython/ipython — pull request #1496 by rkern (2012-03-15 15:37:57+00:00)
Title: BUG: LBYL when clearing the output history on shutdown.

This should fix #1241 and #676.