[Python-checkins] cpython (merge 3.3 -> default): Issue #16226: Fix IDLE Path Browser crash.
ned.deily
python-checkins at python.org
Fri Oct 19 03:19:57 CEST 2012
http://hg.python.org/cpython/rev/58f9523cf407
changeset: 79821:58f9523cf407
parent: 79819:5ae4ff03b35f
parent: 79820:d369e50677a6
user: Ned Deily <nad at acm.org>
date: Thu Oct 18 18:19:11 2012 -0700
summary:
Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
files:
Lib/idlelib/NEWS.txt | 7 +++++++
Lib/idlelib/PathBrowser.py | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -1,3 +1,10 @@
+What's New in IDLE 3.4.0?
+=========================
+
+- Issue #16226: Fix IDLE Path Browser crash.
+ (Patch by Roger Serwy)
+
+
What's New in IDLE 3.3.0?
=========================
diff --git a/Lib/idlelib/PathBrowser.py b/Lib/idlelib/PathBrowser.py
--- a/Lib/idlelib/PathBrowser.py
+++ b/Lib/idlelib/PathBrowser.py
@@ -75,7 +75,7 @@
suffixes += importlib.machinery.SOURCE_SUFFIXES[:]
suffixes += importlib.machinery.BYTECODE_SUFFIXES[:]
sorted = []
- for suff, mode, flag in suffixes:
+ for suff in suffixes:
i = -len(suff)
for name in allnames[:]:
normed_name = os.path.normcase(name)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list