ipython/ipython — pull request #1019 by takluyver (2011-11-20 12:31:38+00:00)
Title: Use repr() to make quoted strings

Should at least begin to fix #1009, by correctly escaping strings with `\U` or `\u` in them.

This only broke a few tests because `repr` defaults to 'single quotes', whereas our implementation defaulted to "double quotes". I've fixed those.

Bonus fix: a couple of config tests were failing on Python 3.