[issue5845] rlcompleter should be enabled automatically
Ned Deily
report at bugs.python.org
Thu Dec 9 22:47:25 CET 2010
Ned Deily <nad at acm.org> added the comment:
Keep in bind that there the Python readline module may be linked to either GNU readline or the BSD editline (libedit) library and they have different command strings. Note the warning here:
http://docs.python.org/dev/py3k/library/readline.html
Here's a snippet of what I have today in my startup file:
import rlcompleter
if 'libedit' in readline.__doc__:
readline.parse_and_bind("bind ^I rl_complete")
else:
readline.parse_and_bind("tab: complete")
See Issue10666 for more details and some possible changes.
----------
nosy: +ned.deily, ronaldoussoren
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5845>
_______________________________________
More information about the Python-bugs-list
mailing list