Add comment explaining that error msgs may be due to user code when

running w/o subprocess.
This commit is contained in:
Kurt B. Kaiser 2006-10-01 21:54:37 +00:00
parent c426ffcdfc
commit e0b673573b
1 changed files with 2 additions and 0 deletions

View 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()