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
bfbf3f13
Commit
bfbf3f13
authored
Oct 18, 2012
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
parent
44362a88
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 @
bfbf3f13
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?
What's New in IDLE 3.3.0?
=========================
=========================
...
...
Lib/idlelib/PathBrowser.py
View file @
bfbf3f13
...
@@ -75,7 +75,7 @@ class DirBrowserTreeItem(TreeItem):
...
@@ -75,7 +75,7 @@ class DirBrowserTreeItem(TreeItem):
suffixes
+=
importlib
.
machinery
.
SOURCE_SUFFIXES
[:]
suffixes
+=
importlib
.
machinery
.
SOURCE_SUFFIXES
[:]
suffixes
+=
importlib
.
machinery
.
BYTECODE_SUFFIXES
[:]
suffixes
+=
importlib
.
machinery
.
BYTECODE_SUFFIXES
[:]
sorted
=
[]
sorted
=
[]
for
suff
,
mode
,
flag
in
suffixes
:
for
suff
in
suffixes
:
i
=
-
len
(
suff
)
i
=
-
len
(
suff
)
for
name
in
allnames
[:]:
for
name
in
allnames
[:]:
normed_name
=
os
.
path
.
normcase
(
name
)
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