ipython/ipython — pull request #5276 by pankajp (2014-03-05 15:49:57+00:00)
Title: Fix kernel restart in case connection file is deleted.

On Mac, the /tmp files are deleted after 3 days if inactivity,
causing qtconsole kernel restart to fail subsequently.
This commit adds check to ensure that connection_file is
written if it does not exist.