This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brian.curtin
Recipients Yakov.Blum, brian.curtin, kbk, ned.deily
Date 2011-01-30.03:32:26
SpamBayes Score 2.83446e-06
Marked as misclassified No
Message-id <1296358347.31.0.93076061299.issue11069@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-01-30 03:32:27brian.curtinsetrecipients: + brian.curtin, kbk, ned.deily, Yakov.Blum
2011-01-30 03:32:27brian.curtinsetmessageid: <1296358347.31.0.93076061299.issue11069@psf.upfronthosting.co.za>
2011-01-30 03:32:26brian.curtinlinkissue11069 messages
2011-01-30 03:32:26brian.curtincreate