summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2006-10-01 21:54:37 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2006-10-01 21:54:37 (GMT)
commite0b673573b7e94420b147cf28241091f4fe2fcff (patch)
tree9c20f3b95d4ba456935eab28eb776f828009d2e2
parentc426ffcdfc12cbe13e307cf3897d99a5511fc8ca (diff)
downloadcpython-e0b673573b7e94420b147cf28241091f4fe2fcff.zip
cpython-e0b673573b7e94420b147cf28241091f4fe2fcff.tar.gz
cpython-e0b673573b7e94420b147cf28241091f4fe2fcff.tar.bz2
Add comment explaining that error msgs may be due to user code when
running w/o subprocess.
-rw-r--r--Lib/idlelib/PyShell.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index aa27028..fffe162 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()