cpython: 41e85ac2ccef (original) (raw)

Mercurial > cpython

changeset 77322:41e85ac2ccef 3.2

Issue #14937: Perform auto-completion of filenames in strings even for non-ASCII filenames. [#14937]

Martin v. Löwis martin@v.loewis.de
date Sun, 03 Jun 2012 11:55:32 +0200
parents f927a5c6e4be
children 9aa8af0761ef ec5bc858df25
files Lib/idlelib/AutoComplete.py Lib/idlelib/AutoCompleteWindow.py Lib/idlelib/NEWS.txt
diffstat 3 files changed, 24 insertions(+), 2 deletions(-)[+] [-] Lib/idlelib/AutoComplete.py 11 Lib/idlelib/AutoCompleteWindow.py 9 Lib/idlelib/NEWS.txt 6

line wrap: on

line diff

--- a/Lib/idlelib/AutoComplete.py +++ b/Lib/idlelib/AutoComplete.py @@ -124,13 +124,20 @@ class AutoComplete: curline = self.text.get("insert linestart", "insert") i = j = len(curline) if hp.is_in_string() and (not mode or mode==COMPLETE_FILES):

--- a/Lib/idlelib/AutoCompleteWindow.py +++ b/Lib/idlelib/AutoCompleteWindow.py @@ -354,6 +354,15 @@ class AutoCompleteWindow: # A modifier key, so ignore return

+ else: # Unknown event, close the window and let it through. self.hide_window()

--- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,3 +1,9 @@ +What's New in IDLE 3.2.4? +========================= + +- Issue #14937: Perform auto-completion of filenames in strings even for