cpython (merge 3.5 -> default): Merge 3.5 (issue #25660)
https://hg.python.org/cpython/rev/87dfadd61e0d changeset: 100156:87dfadd61e0d parent: 100153:5c19bdf5ba3f parent: 100155:64417e7a1760 user: Yury Selivanov <yselivanov@sprymix.com> date: Thu Feb 04 01:24:56 2016 -0500 summary: Merge 3.5 (issue #25660) files: Lib/rlcompleter.py | 4 +++- Misc/NEWS | 3 +++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Lib/rlcompleter.py b/Lib/rlcompleter.py --- a/Lib/rlcompleter.py +++ b/Lib/rlcompleter.py @@ -75,7 +75,9 @@ if not text.strip(): if state == 0: - return '\t' + readline.insert_text('\t') + readline.redisplay() + return '' else: return None diff --git a/Misc/NEWS b/Misc/NEWS --- a/Misc/NEWS +++ b/Misc/NEWS @@ -163,6 +163,9 @@ - Issue #26171: Fix possible integer overflow and heap corruption in zipimporter.get_data(). +- Issue #25660: Fix TAB key behaviour in REPL with readline. + + Library ------- -- Repository URL: https://hg.python.org/cpython
participants (1)
-
yury.selivanov