Issue #16226: Fix IDLE Path Browser crash.

(Patch by Roger Serwy)
This commit is contained in:
Ned Deily 2012-10-18 18:19:11 -07:00
commit 5d590d8705
2 changed files with 8 additions and 1 deletions

View File

@ -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?
=========================

View File

@ -75,7 +75,7 @@ class DirBrowserTreeItem(TreeItem):
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)