]> granicus.if.org Git - python/commitdiff
_finally_ tracked down and eliminated a major problem
authorSteven M. Gava <elguavas@python.net>
Wed, 27 Mar 2002 00:51:53 +0000 (00:51 +0000)
committerSteven M. Gava <elguavas@python.net>
Wed, 27 Mar 2002 00:51:53 +0000 (00:51 +0000)
in PyShell.py that was causing extreme headaches in
working on EditorWindow.py

Lib/idlelib/PyShell.py

index fa4bb3d87f173f8ccb830a6da4651d52eb54ade9..9616e35585225baa56bac8c9c2e49400bac37cd6 100644 (file)
@@ -740,10 +740,13 @@ class main:
         root.withdraw()
         flist = PyShellFileList(root)
 
-        dbg=OnDemandOutputWindow(flist)
-        dbg.set_title('IDLE Debugging Messages')
-        sys.stdout = PseudoFile(dbg,['stdout'])
-        sys.stderr = PseudoFile(dbg,['stderr'])
+        # the following causes lockups and silent failures when debugging
+        # changes to EditorWindow.__init__  ; the console works fine for idle
+        # debugging in any case, so disable this unnescesary stuff.
+        #dbg=OnDemandOutputWindow(flist)
+        #dbg.set_title('IDLE Debugging Messages')
+        #sys.stdout = PseudoFile(dbg,['stdout'])
+        #sys.stderr = PseudoFile(dbg,['stderr'])
         
         try:
             self.server = protocol.Server(connection_hook = self.address_ok)