Merge 3.5 (issue #25660)

This commit is contained in:
Yury Selivanov 2016-02-04 01:24:56 -05:00
commit aecef0d2d5
2 changed files with 6 additions and 1 deletions

View file

@ -75,7 +75,9 @@ class Completer:
if not text.strip():
if state == 0:
return '\t'
readline.insert_text('\t')
readline.redisplay()
return ''
else:
return None

View file

@ -163,6 +163,9 @@ Core and Builtins
- Issue #26171: Fix possible integer overflow and heap corruption in
zipimporter.get_data().
- Issue #25660: Fix TAB key behaviour in REPL with readline.
Library
-------