]> granicus.if.org Git - python/commitdiff
Add comment explaining that error msgs may be due to user code when
authorKurt B. Kaiser <kbk@shore.net>
Sun, 1 Oct 2006 21:54:37 +0000 (21:54 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Sun, 1 Oct 2006 21:54:37 +0000 (21:54 +0000)
running w/o subprocess.

Lib/idlelib/PyShell.py

index aa27028b1b5b994174295485b1eba84392c7aa12..fffe16213798373245ade4d01caa940a61665f29 100644 (file)
@@ -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()