ipython/ipython — pull request #861 by djv (2011-10-12 08:20:52+00:00)
Title: Fix for issue #56

Used a try block to catch ctrl-d (EOFError) as a sentinel. Also added printing of "" on the line where ctrl-d was pressed.