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
ed3b867f
Commit
ed3b867f
authored
Feb 04, 2012
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #13933: IDLE auto-complete did not work with some imported
module, like hashlib. (Patch by Roger Serwy)
parent
f99f3339
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Lib/idlelib/AutoComplete.py
Lib/idlelib/AutoComplete.py
+2
-2
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/AutoComplete.py
View file @
ed3b867f
...
...
@@ -190,7 +190,7 @@ class AutoComplete:
bigl
=
eval
(
"dir()"
,
namespace
)
bigl
.
sort
()
if
"__all__"
in
bigl
:
smalll
=
eval
(
"__all__"
,
namespace
)
smalll
=
list
(
eval
(
"__all__"
,
namespace
)
)
smalll
.
sort
()
else
:
smalll
=
[
s
for
s
in
bigl
if
s
[:
1
]
!=
'_'
]
...
...
@@ -200,7 +200,7 @@ class AutoComplete:
bigl
=
dir
(
entity
)
bigl
.
sort
()
if
"__all__"
in
bigl
:
smalll
=
entity
.
__all__
smalll
=
list
(
entity
.
__all__
)
smalll
.
sort
()
else
:
smalll
=
[
s
for
s
in
bigl
if
s
[:
1
]
!=
'_'
]
...
...
Misc/NEWS
View file @
ed3b867f
...
...
@@ -113,6 +113,9 @@ Core and Builtins
Library
-------
- Issue #13933: IDLE auto-complete did not work with some imported
module, like hashlib. (Patch by Roger Serwy)
- Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.
- Issue #13676: Handle strings with embedded zeros correctly in sqlite3.
...
...
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