ipython/ipython — pull request #5841 by takluyver (2014-05-12 18:26:39+00:00)
Title: Fix writing history with output to a file in Python 2

Closes gh-2412