summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-11 14:47:54 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-11 14:47:54 (GMT)
commitd5c8497a8106cd3e9048902bbfc49c1c6fd2f8db (patch)
tree019fbd7bc2ff7831211bb98620ef1268e19f34cf
parent9016fcf41c37fcd3c7d4bac95f8d3e03416ecd20 (diff)
downloadcpython-d5c8497a8106cd3e9048902bbfc49c1c6fd2f8db.zip
cpython-d5c8497a8106cd3e9048902bbfc49c1c6fd2f8db.tar.gz
cpython-d5c8497a8106cd3e9048902bbfc49c1c6fd2f8db.tar.bz2
I think I like it better if it prints the traceback even when it displays
the stack viewer.
-rw-r--r--Tools/idle/ScriptBinding.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/idle/ScriptBinding.py b/Tools/idle/ScriptBinding.py
index 038dafc..12dedb6 100644
--- a/Tools/idle/ScriptBinding.py
+++ b/Tools/idle/ScriptBinding.py
@@ -129,8 +129,8 @@ class ScriptBinding:
except:
(sys.last_type, sys.last_value,
sys.last_traceback) = sys.exc_info()
-## linecache.checkcache()
-## traceback.print_exc()
+ linecache.checkcache()
+ traceback.print_exc()
if not debugger:
from StackViewer import StackBrowser
sv = StackBrowser(self.root, self.flist)