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

Darren Dale dsdale24@gmail....
Tue Feb 3 13:25:52 CST 2009


On Tue, Feb 3, 2009 at 1:31 PM, Ville M. Vainio <vivainio@gmail.com> wrote:

> On Tue, Feb 3, 2009 at 8:29 PM, Ville M. Vainio <vivainio@gmail.com>
> wrote:
>
> > This happens because readline completer delimiters.
>
> Because OF ...
>
> I think it may be time to get rid of that mess that the completer
> delimiters are... but it would require extensive testing on all
> platform.
>
> And, it will screw up mac stuff, obviously ;-)
>

I put this at the end of my activate():

    import readline
    readline.set_completer_delims(" ")


but it looks like that is not the right place to put it. It makes attribute
completion work, but it breaks item completion. Where should it go?

Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ipython.scipy.org/pipermail/ipython-dev/attachments/20090203/22c6883b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipy_h5py_completer.py
Type: text/x-python
Size: 3166 bytes
Desc: not available
Url : http://lists.ipython.scipy.org/pipermail/ipython-dev/attachments/20090203/22c6883b/attachment.py 


More information about the IPython-dev mailing list