diff Lib/idlelib/PyShell.py @ 39946:89e4aebbf31c legacy-trunk

Add comment explaining that error msgs may be due to user code when running w/o subprocess.
author Kurt B. Kaiser <kbk@shore.net>
date Sun, 01 Oct 2006 21:54:37 +0000
parents d9660f51b056
children 70140cccd3da
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py	Sun Oct 01 21:16:45 2006 +0000
+++ b/Lib/idlelib/PyShell.py	Sun Oct 01 21:54:37 2006 +0000
@@ -726,6 +726,8 @@
                     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()