New submission from zhou wei <lilaboc...@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():
...<TAB>
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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to