diff options
author | Roger Serwy <roger.serwy@gmail.com> | 2013-05-06 03:16:03 (GMT) |
---|---|---|
committer | Roger Serwy <roger.serwy@gmail.com> | 2013-05-06 03:16:03 (GMT) |
commit | 53683f6f4bc53a0ffad923a0e056e488dc7dbb6f (patch) | |
tree | b7c08afcc91be52ab8d9e3269363e518749dd3ef | |
parent | 77371a5eea6b4a628a07b239333cbe3c3f4b13f6 (diff) | |
parent | 9bc7b793ead980204475c5c2309217a43b22633a (diff) | |
download | cpython-53683f6f4bc53a0ffad923a0e056e488dc7dbb6f.zip cpython-53683f6f4bc53a0ffad923a0e056e488dc7dbb6f.tar.gz cpython-53683f6f4bc53a0ffad923a0e056e488dc7dbb6f.tar.bz2 |
#13495: merge with 3.3.
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 3 | ||||
-rw-r--r-- | Lib/idlelib/PyShell.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 52dfb3d..47cc01b 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -316,9 +316,6 @@ class EditorWindow(object): self.good_load = True is_py_src = self.ispythonsource(filename) self.set_indentation_params(is_py_src) - if is_py_src: - self.color = color = self.ColorDelegator() - per.insertfilter(color) else: io.set_filename(filename) self.good_load = True diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 13dd8e1..9b3fdf4 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -858,8 +858,6 @@ class PyShell(OutputWindow): text.bind("<<open-stack-viewer>>", self.open_stack_viewer) text.bind("<<toggle-debugger>>", self.toggle_debugger) text.bind("<<toggle-jit-stack-viewer>>", self.toggle_jit_stack_viewer) - self.color = color = self.ColorDelegator() - self.per.insertfilter(color) if use_subprocess: text.bind("<<view-restart>>", self.view_restart_mark) text.bind("<<restart-shell>>", self.restart_shell) @@ -257,6 +257,8 @@ C-API IDLE ---- +- Issue #13495: Avoid loading the color delegator twice in IDLE. + - Issue #17798: Allow IDLE to edit new files when specified on command line. - Issue #14735: Update IDLE docs to omit "Control-z on Windows". |