]> granicus.if.org Git - python/commitdiff
I think I like it better if it prints the traceback even when it displays
authorGuido van Rossum <guido@python.org>
Mon, 11 Jan 1999 14:47:54 +0000 (14:47 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 11 Jan 1999 14:47:54 +0000 (14:47 +0000)
the stack viewer.

Tools/idle/ScriptBinding.py

index 038dafc01a8c851d789bf835fbe5f0589465cf86..12dedb6581b3954d2ff65e7b3aac1a63c6176e5f 100644 (file)
@@ -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)