Pycassa Shell should change the way it starts IPython #193

donspaulding opened this Issue Apr 8, 2013 · 1 comment


None yet
2 participants

Django recently committed a fix from an IPython core dev that changed the way they started up IPython. It seems IPython does not encourage the use of embed() for full-blown shells, because it can create problems with locals() and globals(), and it appears Pycassa has a bug like this.

Pycassa may want to consider implementing this new method of instantiating an IPython shell.

    from IPython.frontend.terminal.ipapp import TerminalIPythonApp
    app = TerminalIPythonApp.instance()
except ImportError:
    # fall back to embed()?

thobbs commented Apr 10, 2014

I gave this a shot, but couldn't get it to work. If anybody else would like to try, please feel free to open a pull request.

@thobbs thobbs closed this Apr 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment