Author: kurt.kaiser
Date: Sat Jul 14 03:53:45 2007
New Revision: 56362

Modified:
   python/branches/p3yk/Lib/idlelib/FileList.py
Log:
Was modifying dict during iteration.


Modified: python/branches/p3yk/Lib/idlelib/FileList.py
==============================================================================
--- python/branches/p3yk/Lib/idlelib/FileList.py        (original)
+++ python/branches/p3yk/Lib/idlelib/FileList.py        Sat Jul 14 03:53:45 2007
@@ -44,7 +44,7 @@
         return self.EditorWindow(self, filename)
 
     def close_all_callback(self, event):
-        for edit in self.inversedict.keys():
+        for edit in list(self.inversedict):
             reply = edit.close()
             if reply == "cancel":
                 break
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to