[IPython-dev] looking for advice on a custom dict-like completer

Ville M. Vainio vivainio@gmail....
Tue Feb 3 12:29:18 CST 2009


On Tue, Feb 3, 2009 at 7:56 PM, Darren Dale <dsdale24@gmail.com> wrote:

> but thats a minor point. A major sticking point is:
>
> a['nested'].ite<tab>
>
> That doesnt yield anything, but I know that a list of possible completions
> is being generated, I can print the list in my completer, but its not
> propagating back to ipython for some reason. Could someone please have a

This happens because readline completer delimiters.

Try doing:

readline.set_completer_delims(' ')

then your completer will work properly.

-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the IPython-dev mailing list