diff -r 52f68c95e025 Lib/idlelib/AutoComplete.py --- a/Lib/idlelib/AutoComplete.py Thu Jan 26 08:47:27 2012 -0600 +++ b/Lib/idlelib/AutoComplete.py Sat Feb 04 10:22:16 2012 -0600 @@ -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] != '_']