From: Kurt B. Kaiser Date: Fri, 10 Aug 2007 19:45:35 +0000 (+0000) Subject: Remove the None tag from tagdefs dict for now, appears inoperative and X-Git-Tag: v3.0a1~458 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ae6ba09ea30bbb85d8a6d10bc495378ac40cfa4;p=thirdparty%2FPython%2Fcpython.git Remove the None tag from tagdefs dict for now, appears inoperative and causes a _tkinter error in py3k. --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index f8c73ee4fc56..90c837c1bf21 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):