From e0b673573b7e94420b147cf28241091f4fe2fcff Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Sun, 1 Oct 2006 21:54:37 +0000 Subject: [PATCH] Add comment explaining that error msgs may be due to user code when running w/o subprocess. --- Lib/idlelib/PyShell.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index aa27028b1b5..fffe1621379 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -726,6 +726,8 @@ class ModifiedInterpreter(InteractiveInterpreter): raise except: if use_subprocess: + # When run w/o subprocess, both user and IDLE errors + # are printed here; skip message in that case. print >> self.tkconsole.stderr, \ "IDLE internal error in runcode()" self.showtraceback()