[Python-checkins] cpython (merge 3.2 -> default): Issue #13933: merge
ned.deily
python-checkins at python.org
Sat Feb 4 18:38:46 CET 2012
http://hg.python.org/cpython/rev/443772a82dcd
changeset: 74768:443772a82dcd
parent: 74765:05b40b006565
parent: 74767:3e9a7fdf0498
user: Ned Deily <nad at acm.org>
date: Sat Feb 04 18:38:10 2012 +0100
summary:
Issue #13933: merge
files:
Lib/idlelib/AutoComplete.py | 4 ++--
Misc/NEWS | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Lib/idlelib/AutoComplete.py b/Lib/idlelib/AutoComplete.py
--- a/Lib/idlelib/AutoComplete.py
+++ b/Lib/idlelib/AutoComplete.py
@@ -190,7 +190,7 @@
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 @@
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] != '_']
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -466,6 +466,9 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list