From: Kurt B. Kaiser Date: Sun, 1 Oct 2006 21:54:37 +0000 (+0000) Subject: Add comment explaining that error msgs may be due to user code when X-Git-Tag: v2.6a1~2616 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0b673573b7e94420b147cf28241091f4fe2fcff;p=thirdparty%2FPython%2Fcpython.git Add comment explaining that error msgs may be due to user code when running w/o subprocess. --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index aa27028b1b5b..fffe16213798 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()