mirror of https://github.com/python/cpython
Add comment explaining that error msgs may be due to user code when
running w/o subprocess.
This commit is contained in:
parent
c426ffcdfc
commit
e0b673573b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue