diff Lib/idlelib/PyShell.py @ 39418:7d6b2e04e439 legacy-trunk

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
author Kurt B. Kaiser <kbk@shore.net>
date Wed, 09 Aug 2006 16:46:15 +0000
parents efde5ee88c9f
children feee6582011f
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py	Wed Aug 09 15:37:26 2006 +0000
+++ b/Lib/idlelib/PyShell.py	Wed Aug 09 16:46:15 2006 +0000
@@ -722,7 +722,8 @@
                 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: