[IPython-dev] Autocomplete fails when kernel namespace is updated
Ivan Zhang
mirage007 at gmail.com
Wed Jul 25 14:07:58 EDT 2012
Hi,
I'm running a simple script to feed a custom namespace into a kernel.
Everything works fine except autocomplete.
-------------
Kernel = IPKernelApp.instance()
Kernel.initialize(['python', '--pylab=qt'])
Namespace = {'abcdef': 123}
Namespace.update(Kernel.shell.user_ns)
Kernel.shell.user_ns = Namespace
Kernel.start()
----------
If I connect a console via:
Ipython console --existing
Tab complete doesn't show for variable abcdef
However when evaluating it, it does show up, it also shows up when using
%who
I'm using Ipython .13 and python 2.7
Any ideas?
-Ivan
--
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20120725/1fbfbdf8/attachment.html>
More information about the IPython-dev
mailing list