Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfbf3f1

Browse files
committed
Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
1 parent 44362a8 commit bfbf3f1

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Lib/idlelib/NEWS.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
What's New in IDLE 3.3.1?
2+
=========================
3+
4+
- Issue #16226: Fix IDLE Path Browser crash.
5+
(Patch by Roger Serwy)
6+
7+
18
What's New in IDLE 3.3.0?
29
=========================
310

Lib/idlelib/PathBrowser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def listmodules(self, allnames):
7575
suffixes += importlib.machinery.SOURCE_SUFFIXES[:]
7676
suffixes += importlib.machinery.BYTECODE_SUFFIXES[:]
7777
sorted = []
78-
for suff, mode, flag in suffixes:
78+
for suff in suffixes:
7979
i = -len(suff)
8080
for name in allnames[:]:
8181
normed_name = os.path.normcase(name)

0 commit comments

Comments
 (0)