Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a78cad

Browse files
committed
Shell was not colorizing due to bug introduced at r57998, Bug 1586.
1 parent f4d4f8b commit 8a78cad

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

Lib/idlelib/NEWS.txt

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
1+
What's New in IDLE 3.0a3?
2+
=========================
3+
4+
*Release date: XX-XXX-200X*
5+
6+
- CodeContext was not importing.
7+
8+
- Corrected two 3.0 compatibility errors reported by Mark Summerfield:
9+
http://mail.python.org/pipermail/python-3000/2007-December/011491.html
10+
11+
- Shell was not colorizing due to bug introduced at r57998, Bug 1586.
12+
13+
114
What's New in IDLE 3.0a2?
215
=========================
316

4-
*Release date: XX-XXX-2007*
17+
*Release date: 06-Dec-2007*
518

619
- Windows EOL sequence not converted correctly, encoding error.
720
Caused file save to fail. Bug 1130.
@@ -28,7 +41,7 @@ What's New in IDLE 3.0a1?
2841
What's New in IDLE 2.6a1?
2942
=========================
3043

31-
*Release date: XX-XXX-200X* UNRELEASED, but merged into 3.0a1
44+
*Release date: XX-XXX-200X* UNRELEASED, but merged into 3.0
3245

3346
- tabpage.py updated: tabbedPages.py now supports multiple dynamic rows
3447
of tabs. Patch 1612746 Tal Einat.

Lib/idlelib/PyShell.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,8 @@ def __init__(self, flist=None):
811811
text.bind("<<open-stack-viewer>>", self.open_stack_viewer)
812812
text.bind("<<toggle-debugger>>", self.toggle_debugger)
813813
text.bind("<<toggle-jit-stack-viewer>>", self.toggle_jit_stack_viewer)
814+
self.color = color = self.ColorDelegator()
815+
self.per.insertfilter(color)
814816
if use_subprocess:
815817
text.bind("<<view-restart>>", self.view_restart_mark)
816818
text.bind("<<restart-shell>>", self.restart_shell)

0 commit comments

Comments
 (0)