[Python-Dev] rlcompleter -- auto-complete dictionary keys (+ tests)
Valery Khamenya
khamenya at gmail.com
Sun Nov 7 18:07:31 CET 2010
>
> Can you post your patch on bugs.python.org?
>
the site is not working currently.
Also, I have forgotten to mention, that the usual lines in .pythonstartup
should look now like that:
# the usual lines:
import readline
import rlcompleter
readline.parse_and_bind('tab: complete')
readline.parse_and_bind('Control-Space: complete')
# and now the additional line to allow the '[' char and both quote
characters:
readline.set_completer_delims(re.compile(r'[\'"\\[]').sub('',
readline.get_completer_delims()))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20101107/f2e989a0/attachment.html>
More information about the Python-Dev
mailing list