[IPython-dev] Autocomplete fails when kernel namespace is updated

Ivan Zhang mirage007@gmail....
Wed Jul 25 13:07:58 CDT 2012


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}
Kernel.shell.user_ns = Namespace

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
I'm using Ipython .13 and python 2.7

Any ideas?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20120725/1fbfbdf8/attachment.html 

More information about the IPython-dev mailing list