[New-bugs-announce] [issue7898] rlcompleter add "real tab" when text is empty feature

zhou wei report at bugs.python.org
Wed Feb 10 09:19:19 CET 2010

New submission from zhou wei <lilaboc.cn at gmail.com>:

When I use rlcompleter in interactive Python mode, I think it will be more convenient if autocomplete produce a real tab when text-to-autocomplete is empty.
For example:
>>> def test():
will give:
Display all 182 possibilities? (y or n)
instead of a real tab

So, when indentation is needed, 4 times of spacebar pressing are required. That's why I think it will make more sense to just return a tab character when there is nothing to autocomplete.

This behavior is similar to autocompletion in ipython

components: Library (Lib)
files: rlcompleter.diff
keywords: patch
messages: 99159
nosy: dieresys, facundobatista, georg.brandl, gpolo, lilaboc, pitrou, rnd0110
severity: normal
status: open
title: rlcompleter add "real tab" when text is empty feature
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file16200/rlcompleter.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list