ipython/ipython — pull request #1594 by takluyver (2012-04-14 17:34:20+00:00)
Title: Fix writing git commit ID to a file on build with Python 3

Simplified following review of 74c10b3c03.