changeset: 100156:87dfadd61e0d parent: 100153:5c19bdf5ba3f parent: 100155:64417e7a1760 user: Yury Selivanov date: Thu Feb 04 01:24:56 2016 -0500 files: Lib/rlcompleter.py Misc/NEWS description: Merge 3.5 (issue #25660) diff -r 5c19bdf5ba3f -r 87dfadd61e0d Lib/rlcompleter.py --- a/Lib/rlcompleter.py Wed Feb 03 22:07:08 2016 -0600 +++ b/Lib/rlcompleter.py Thu Feb 04 01:24:56 2016 -0500 @@ -75,7 +75,9 @@ if not text.strip(): if state == 0: - return '\t' + readline.insert_text('\t') + readline.redisplay() + return '' else: return None diff -r 5c19bdf5ba3f -r 87dfadd61e0d Misc/NEWS --- a/Misc/NEWS Wed Feb 03 22:07:08 2016 -0600 +++ b/Misc/NEWS Thu Feb 04 01:24:56 2016 -0500 @@ -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 -------