ipython/ipython — pull request #4624 by takluyver (2013-12-02 21:09:25+00:00)
Title: Fix crash when $EDITOR is non-ASCII

Catch $EDITOR being non-ASCII on Python 2 and fall back to the defaults, rather than crashing.

Also, setting unicode traits from invalid bytes now produces a useful error message, rather than a crash with a complex traceback.

Fixes #4615.