Brian Curtin <[email protected]> added the comment:
The following patch will fix it. Another example of why 'list' isn't a great
name :)
Index: Lib/idlelib/RemoteObjectBrowser.py
===================================================================
--- Lib/idlelib/RemoteObjectBrowser.py (revision 88248)
+++ Lib/idlelib/RemoteObjectBrowser.py (working copy)
@@ -17,8 +17,8 @@
return value
def _GetSubList(self):
- list = self.__item._GetSubList()
- return list(map(remote_object_tree_item, list))
+ sub_list = self.__item._GetSubList()
+ return list(map(remote_object_tree_item, sub_list))
class StubObjectTreeItem:
# Lives in IDLE process
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11069>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com