From: Steven M. Gava Date: Wed, 27 Mar 2002 00:51:53 +0000 (+0000) Subject: _finally_ tracked down and eliminated a major problem X-Git-Tag: v2.3c1~6313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cedd30b030d8424e5f4de9f5fa2fdf14a3a702b7;p=python _finally_ tracked down and eliminated a major problem in PyShell.py that was causing extreme headaches in working on EditorWindow.py --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index fa4bb3d87f..9616e35585 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -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)