]> granicus.if.org Git - python/commitdiff
Remove the None tag from tagdefs dict for now, appears inoperative and
authorKurt B. Kaiser <kbk@shore.net>
Fri, 10 Aug 2007 19:45:35 +0000 (19:45 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Fri, 10 Aug 2007 19:45:35 +0000 (19:45 +0000)
causes a _tkinter error in py3k.

Lib/idlelib/PyShell.py

index f8c73ee4fc569a54a4b00ffa98aab762eac94017..90c837c1bf2176ab1cd77d01fbbf436938a1b015 100644 (file)
@@ -296,7 +296,9 @@ class ModifiedColorDelegator(ColorDelegator):
             "stdout": idleConf.GetHighlight(theme, "stdout"),
             "stderr": idleConf.GetHighlight(theme, "stderr"),
             "console": idleConf.GetHighlight(theme, "console"),
-            None: idleConf.GetHighlight(theme, "normal"),
+            ### KBK 10Aug07: None tag doesn't seem to serve a purpose and
+            ### breaks in py3k.  Comment out for now.
+            #None: idleConf.GetHighlight(theme, "normal"),
         })
 
 class ModifiedUndoDelegator(UndoDelegator):