ipython/ipython — pull request #1864 by takluyver (2012-06-06 19:10:59+00:00)
Title: Rmagic exceptions

Cleans up exceptions raised from the %%R magic to separate information from presentation, and make it work in Python 3.

Also protects zmqshell if it tries to send a traceback with an exception where `unicode(exc)` raises a unicode error (issue #1827).