From 6ae6ba09ea30bbb85d8a6d10bc495378ac40cfa4 Mon Sep 17 00:00:00 2001
From: "Kurt B. Kaiser" <kbk@shore.net>
Date: Fri, 10 Aug 2007 19:45:35 +0000
Subject: Remove the None tag from tagdefs dict for now, appears inoperative
 and causes a _tkinter error in py3k.

---
 Lib/idlelib/PyShell.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index f8c73ee..90c837c 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -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):
-- 
cgit v0.12

