[New-bugs-announce] [issue23441] rlcompleter: tab on empty prefix => insert spaces

Armin Rigo report at bugs.python.org
Wed Feb 11 11:21:44 CET 2015


New submission from Armin Rigo:

In the interactive prompt:

>>> if 1:
... <press tab here>

Pressing tab here should just insert 4 spaces. It makes no sense to display all 500 possible "completions" of the empty word, and using tab to indent is a very common feature of any editor with a Python mode.

Patch attached.

----------
components: Library (Lib)
files: rlcompleter_tab2space.diff
keywords: patch
messages: 235733
nosy: arigo
priority: normal
severity: normal
status: open
title: rlcompleter: tab on empty prefix => insert spaces
type: enhancement
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file38093/rlcompleter_tab2space.diff

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


More information about the New-bugs-announce mailing list