From: Kurt B. Kaiser Date: Thu, 13 Dec 2007 03:38:16 +0000 (+0000) Subject: Shell was not colorizing due to bug introduced at r57998, Bug 1586. X-Git-Tag: v3.0a3~299 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a78cadf561ea67649a84d9b4055dd4c24e2e0ba;p=thirdparty%2FPython%2Fcpython.git Shell was not colorizing due to bug introduced at r57998, Bug 1586. --- diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 09661527076e..d340e66cd408 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,7 +1,20 @@ +What's New in IDLE 3.0a3? +========================= + +*Release date: XX-XXX-200X* + +- CodeContext was not importing. + +- Corrected two 3.0 compatibility errors reported by Mark Summerfield: + http://mail.python.org/pipermail/python-3000/2007-December/011491.html + +- Shell was not colorizing due to bug introduced at r57998, Bug 1586. + + What's New in IDLE 3.0a2? ========================= -*Release date: XX-XXX-2007* +*Release date: 06-Dec-2007* - Windows EOL sequence not converted correctly, encoding error. Caused file save to fail. Bug 1130. @@ -28,7 +41,7 @@ What's New in IDLE 3.0a1? What's New in IDLE 2.6a1? ========================= -*Release date: XX-XXX-200X* UNRELEASED, but merged into 3.0a1 +*Release date: XX-XXX-200X* UNRELEASED, but merged into 3.0 - tabpage.py updated: tabbedPages.py now supports multiple dynamic rows of tabs. Patch 1612746 Tal Einat. diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 097818f4dcad..9962894d4d05 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -811,6 +811,8 @@ class PyShell(OutputWindow): text.bind("<>", self.open_stack_viewer) text.bind("<>", self.toggle_debugger) text.bind("<>", self.toggle_jit_stack_viewer) + self.color = color = self.ColorDelegator() + self.per.insertfilter(color) if use_subprocess: text.bind("<>", self.view_restart_mark) text.bind("<>", self.restart_shell)