Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5d590d87
Commit
5d590d87
authored
Oct 18, 2012
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
parents
e453e4c0
bfbf3f13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
Lib/idlelib/NEWS.txt
Lib/idlelib/NEWS.txt
+7
-0
Lib/idlelib/PathBrowser.py
Lib/idlelib/PathBrowser.py
+1
-1
No files found.
Lib/idlelib/NEWS.txt
View file @
5d590d87
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?
=========================
...
...
Lib/idlelib/PathBrowser.py
View file @
5d590d87
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment