alonho/pystuck — pull request #2 by akrito (2012-03-13 19:40:05+00:00)
Title: The old way of embedding IPython doesn't work in 0.12

Attempt to embed IPython the 0.12 way (http://ipython.org/ipython-doc/rel-0.12/interactive/reference.html#embedding-ipython) and if that doesn't work, fall back to the 0.11 way. I don't have IPython 0.11 to test it with, so I just moved the old code in to an except: block.