summaryrefslogtreecommitdiff
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2006-08-09 16:46:15 +0000
committerKurt B. Kaiser <kbk@shore.net>2006-08-09 16:46:15 +0000
commit312e5afb5121ac9863bda7e348e5c4f1d75c5dd6 (patch)
treeb586d83218edb05ec670d5121fa1932d34f4b4e2 /Lib/idlelib/PyShell.py
parent97ff04789de3e37af585648de70260a54a29bd47 (diff)
downloadcpython-git-312e5afb5121ac9863bda7e348e5c4f1d75c5dd6.tar.gz
1. When used w/o subprocess, all exceptions were preceeded by an error
message claiming they were IDLE internal errors (since 1.2a1). 2. Add Ronald Oussoren to CREDITS M NEWS.txt M PyShell.py M CREDITS.txt
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r--Lib/idlelib/PyShell.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 227372ef2a..f0d79263a8 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -722,7 +722,8 @@ class ModifiedInterpreter(InteractiveInterpreter):
else:
self.showtraceback()
except:
- print>>sys.stderr, "IDLE internal error in runcode()"
+ if self.rpcclt:
+ print>>sys.stderr, "IDLE internal error in runcode()"
self.showtraceback()
finally:
if not use_subprocess: