Can İbanoğlu added the comment:

I have also prepared a patch for the second item but I don't know if I should 
regenerate the patch after you have committed the first patch so I'm sitting on 
it now. 

I also didn't update the ACKS and NEWS files, should I?

Here's what I did for the second item, just in case you spot something I 
shouldn't be doing:

         sublist = []
         if frame.f_globals is not frame.f_locals:
             item = VariablesTreeItem("<locals>", frame.f_locals, self.flist)
-            sublist.append(item)
-        item = VariablesTreeItem("<globals>", frame.f_globals, self.flist)
+        else:
+            item = VariablesTreeItem("<globals>", frame.f_globals, self.flist)
         sublist.append(item)
         return sublist

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24790>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to