[IPython-dev] get_ipython() versus _ip

Thomas Kluyver takowl at gmail.com
Tue Jun 28 16:43:40 EDT 2011


Something I've been wondering for a while now: in previous versions, the
user namespace had a reference to the shell object with a name like _ip. In
trunk, we've replaced that with a get_ipython() callable, which returns the
same reference. What was the reasoning behind that? I find that when I want
to use it, I inevitably end up typing "ip = get_ipython()", both for brevity
and so I get tab completion.

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20110628/b3219e4c/attachment.html>


More information about the IPython-dev mailing list