Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/PyShell.py @ 22599:194ed5e0dc8f legacy-trunk
_finally_ tracked down and eliminated a major problem
in PyShell.py that was causing extreme headaches in
working on EditorWindow.py
| author | Steven M. Gava <elguavas@python.net> |
|---|---|
| date | Wed, 27 Mar 2002 00:51:53 +0000 |
| parents | c494084dc6d8 |
| children | b74afdd072eb |
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py Tue Mar 26 20:29:11 2002 +0000 +++ b/Lib/idlelib/PyShell.py Wed Mar 27 00:51:53 2002 +0000 @@ -740,10 +740,13 @@ 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)
