mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -726,6 +726,8 @@ class ModifiedInterpreter(InteractiveInterpreter):
|
||||||
raise
|
raise
|
||||||
except:
|
except:
|
||||||
if use_subprocess:
|
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, \
|
print >> self.tkconsole.stderr, \
|
||||||
"IDLE internal error in runcode()"
|
"IDLE internal error in runcode()"
|
||||||
self.showtraceback()
|
self.showtraceback()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue