[issue10796] readline completion flaw

Éric Araujo report at bugs.python.org
Sat Nov 3 21:17:08 CET 2012


Éric Araujo added the comment:

I think I get it: Python sets custom delimiters that include '-' because for the Python REPL, it’s not possible to have one identifier with a dash, so it’s considered a delimiter and when you press tab, a new completion is started.  For a custom REPL however, you may want to have dashes as legal parts of your completed words, so you want to call set_completer_delims.  Reclassifying as a doc patch.

----------
assignee:  -> docs at python
components: +Documentation -Library (Lib)
keywords: +easy
nosy: +docs at python
stage:  -> needs patch
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4

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


More information about the Python-bugs-list mailing list