[Python-checkins] r52084 - python/trunk/Lib/idlelib/PyShell.py

kurt.kaiser python-checkins at python.org
Sun Oct 1 23:54:38 CEST 2006


Author: kurt.kaiser
Date: Sun Oct 1 23:54:37 2006
New Revision: 52084
Modified:
 python/trunk/Lib/idlelib/PyShell.py
Log:
Add comment explaining that error msgs may be due to user code when
running w/o subprocess. 
Modified: python/trunk/Lib/idlelib/PyShell.py
==============================================================================
--- python/trunk/Lib/idlelib/PyShell.py	(original)
+++ python/trunk/Lib/idlelib/PyShell.py	Sun Oct 1 23:54:37 2006
@@ -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()


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /