[issue5845] rlcompleter should be enabled automatically

Alexander Belopolsky report at bugs.python.org
Mon May 6 17:34:45 CEST 2013


Alexander Belopolsky added the comment:

I am in AP's camp on the tab issue, but I think we can preserve "tab inserts tab" behavior at the continuation prompt.  I don't like "indent at beginning of line."  I have rlcompleter enabled in Python 2.6 and i get the following when I press tab:

Python 2.6.6 (r266:84292, Feb 22 2013, 00:00:18)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> <tab>
Display all 173 possibilities? (y or n) y
ArithmeticError(            abs(                        input(
AssertionError(             all(                        int(
AttributeError(             and                         intern(
BaseException(              any(                        is
..

I find this rather useful.

At the ... prompt, however, a tab (or better four spaces) is arguably the right completion at the beginning of the line.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5845>
_______________________________________


More information about the Python-bugs-list mailing list