[Python-checkins] cpython (3.3): Issue #16226: Fix IDLE Path Browser crash.
ned.deily
python-checkins at python.org
Fri Oct 19 03:19:55 CEST 2012
http://hg.python.org/cpython/rev/d369e50677a6
changeset: 79820:d369e50677a6
branch: 3.3
parent: 79816:8ce04be1321c
user: Ned Deily <nad at acm.org>
date: Thu Oct 18 18:16:44 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.3.1?
+=========================
+
+- 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